3.1.3 - 严重 - 未处理
之前是 CommonAction.class.php,IndexAction.class.php 继承它,没问题。现在是 CommonController.class.php,IndexController.class.php 这样写:
class IndexController extends CommonController{}
就报错,好像是 MODULE_PATH 常量未定义?log里是这样的:
[ 2013-06-12T17:54:37+08:00 ] 127.0.0.1 /index.php/Home/
INFO: [ route_check ] --START--
NOTIC: [8] Use of undefined constant MODULE_PATH - assumed 'MODULE_PATH' F:\APMServ\www\htdocs\ThinkPHP\Lib\Core\Think.class.php 第 162 行.
INFO: CheckRoute Behavior ::run [ RunTime:0.000551s ]
INFO: [ route_check ] --END-- [ RunTime:0.000661s ]
INFO: [ app_begin ] --START--
INFO: ReadHtmlCache Behavior ::run [ RunTime:0.000529s ]
INFO: [ app_begin ] --END-- [ RunTime:0.000628s ]
