1

the default path of the modules folder in yii framework is like this

Yii project -> protected -> modules

but i need to move "modules" folders outside the Yii project, so the new path should be like this

Yii project -> protected

modules (this folder is outside yii project)

how can i achieve this?

1 Answer 1

1

You can set it in your yii configuration file, ie:

// .... Other configuration options...

// Set module path:
'modulePath' => 'some/path',
'modules' => array(
    // .... Your modules configuration
)
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.