[更新]修改 runtime 到项目根目录下

This commit is contained in:
Anyon 2017-05-04 16:33:59 +08:00
parent cbb13027d3
commit 2e65c3268e
2 changed files with 4 additions and 4 deletions

6
.gitignore vendored
View File

@ -1,9 +1,9 @@
!.gitignore !.gitignore
/.idea /.idea
/.svn /.svn
/runtime/ /runtime
/composer.lock /composer.lock
/public/upload /public/upload
/nbproject /nbproject
/static/runtime/ /runtime
/static/upload/ /static/upload

View File

@ -19,7 +19,7 @@ session_name('s' . substr(md5(__FILE__), 0, 8));
define('APP_PATH', __DIR__ . '/application/'); define('APP_PATH', __DIR__ . '/application/');
/* 定义Runtime运行目录 */ /* 定义Runtime运行目录 */
define('RUNTIME_PATH', __DIR__ . '/static/runtime/'); define('RUNTIME_PATH', __DIR__ . '/runtime/');
/* 加载框架引导文件 */ /* 加载框架引导文件 */
require __DIR__ . '/thinkphp/start.php'; require __DIR__ . '/thinkphp/start.php';