mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
[更新]调整session_name规则
This commit is contained in:
parent
7324eb4f08
commit
64a60dd731
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@
|
||||
/runtime/
|
||||
/composer.lock
|
||||
/public/upload
|
||||
/nbproject
|
||||
|
@ -13,13 +13,13 @@
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
/* SESSION会话名称 */
|
||||
session_name(md5(__FILE__));
|
||||
session_name('sess' . substr(md5(__FILE__)), 0, 8);
|
||||
|
||||
/* 定义应用目录 */
|
||||
define('APP_PATH', __DIR__ . '/application/');
|
||||
|
||||
/* 定义Runtime运行目录 */
|
||||
define('RUNTIME_PATH', __DIR__ . '/static/~runtime/');
|
||||
define('RUNTIME_PATH', __DIR__ . '/static/runtime/');
|
||||
|
||||
/* 加载框架引导文件 */
|
||||
require __DIR__ . '/thinkphp/start.php';
|
||||
|
Loading…
x
Reference in New Issue
Block a user