File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 1818// 系统目录定义
1919defined ('THINK_PATH ' ) or define ('THINK_PATH ' , dirname (__FILE__ ).'/ ' );
2020defined ('APP_PATH ' ) or define ('APP_PATH ' , dirname ($ _SERVER ['SCRIPT_FILENAME ' ]).'/ ' );
21- defined ('RUNTIME_PATH ' ) or define ('RUNTIME_PATH ' ,realpath (APP_PATH ).'/Runtime/ ' );
2221defined ('APP_DEBUG ' ) or define ('APP_DEBUG ' ,false ); // 是否调试模式
2322if (defined ('ENGINE_NAME ' )) {
2423 defined ('ENGINE_PATH ' ) or define ('ENGINE_PATH ' ,THINK_PATH .'Extend/Engine/ ' );
2524 require ENGINE_PATH .strtolower (ENGINE_NAME ).'.php ' ;
2625}else {
26+ defined ('RUNTIME_PATH ' ) or define ('RUNTIME_PATH ' ,realpath (APP_PATH ).'/Runtime/ ' );
2727 $ runtime = defined ('MODE_NAME ' )?'~ ' .strtolower (MODE_NAME ).'_runtime.php ' :'~runtime.php ' ;
2828 defined ('RUNTIME_FILE ' ) or define ('RUNTIME_FILE ' ,RUNTIME_PATH .$ runtime );
2929 if (!APP_DEBUG && is_file (RUNTIME_FILE )) {
You can’t perform that action at this time.
0 commit comments