我使用Yii-boilerplate(Haml分支)生成了一个新项目,但是出现错误:
Use of undefined constant HAMLPHP_ROOT - assumed 'HAMLPHP_ROOT' in \yii-boilerplate\protected\extensions\yiihppie\vendors\HamlPHP\src\HamlPHP\Lang\Nodes\DoctypeNode.php.
关于如何解决它的任何建议?
更新: HAMLPHP_ROOT
已定义\yii-boilerplate\protected\extensions\yiihppie\vendors\HamlPHP\src\HamlPHP\Config.php
为
define('HAMLPHP_ROOT', dirname(__FILE__).DIRECTORY_SEPARATOR);