Closed ifdattic closed 11 years ago
That behavior has been changed, now on the templates we do not include yii.php
at its index.php
was a very bad pitfall but is fixed: https://github.com/tonydspaniard/yiinitializr-basic/blob/master/www/index.php
Apologies for that bug as the inclusion of yii.php
.
Great, will have to update my application to fix this.
Just started using Yiinitializr for a new project, so if I find something that might be a bug I just add an issue.
Great library :)
This block of code doesn't work. For example if we take 'yiinitializr-intermediate' back-end
index.php
file, that code of block is processed after Yii framework is included, but the linerequire('./../../common/lib/vendor/yiisoft/yii/framework/yii.php');
which includes Yii framework sets debug constants if they are not already set. This leads to using default debug constants and not the ones set from configuration.