nenad-zivkovic / yii2-advanced-template

Yii2 improved advanced application template that can bake you cookies
BSD 3-Clause "New" or "Revised" License
93 stars 66 forks source link

requirements.php path error #23

Closed sganz closed 9 years ago

sganz commented 9 years ago

Not sure if the path is set up correctly in the requirements.php. When I tried to run it, it complains about -

The path to yii framework seems to be incorrect.

I added a slash to the requirements.php file as below and it seemed to work. This applies to both the basic and advanced-template.

// you may need to adjust this path to the correct Yii framework path
$frameworkPath = dirname(__FILE__) . '/_protected/vendor/yiisoft/yii2';

Only a minor issue at best.

Thanks

Sandy

nenad-zivkovic commented 9 years ago

Thank you. I haven't tried to run that, like ever... :) I'm going to fix it soon.

sganz commented 9 years ago

Ha, yeah, I had a configuration problem so I decided to run it and found the problem. I doubt many do run it at all once do you set up an environment once.

Sandy