diff --git a/crmeb/.env b/crmeb/.env new file mode 100755 index 000000000..5b500e47a --- /dev/null +++ b/crmeb/.env @@ -0,0 +1 @@ +APP_DEBUG = true [APP] DEFAULT_TIMEZONE = Asia/Shanghai [DATABASE] TYPE = mysql HOSTNAME = HOSTPORT = 3306 USERNAME = PASSWORD = DATABASE = PREFIX = eb_ CHARSET = utf8 DEBUG = true [LANG] default_lang = zh-cn [REDIS] REDIS_HOSTNAME = PORT = 6379 REDIS_PASSWORD = SELECT = 0 [QUEUE] QUEUE_NAME = 62b265633562c \ No newline at end of file diff --git a/crmeb/public/install/index.php b/crmeb/public/install/index.php index 9458735f0..5edab2203 100644 --- a/crmeb/public/install/index.php +++ b/crmeb/public/install/index.php @@ -144,7 +144,9 @@ switch ($step) { 'runtime', ); $file = array( - '.env' + '.env', + '.version', + '.constant', ); //必须开启函数 $disabled = explode(',', ini_get('disable_functions')); diff --git a/crmeb/public/install/templates/step2.php b/crmeb/public/install/templates/step2.php index e0dc8fa7b..48f423991 100644 --- a/crmeb/public/install/templates/step2.php +++ b/crmeb/public/install/templates/step2.php @@ -144,18 +144,16 @@ } ?> √可写 '; } else { $w = '√不可写 '; $err++; } - if (is_readable($file_env)) { + if (is_readable($filedir)) { $r = '√可读'; } else { $r = '√不可读'; @@ -164,7 +162,7 @@ ?> - + 读写 diff --git a/crmeb/runtime/readme.md b/crmeb/runtime/readme.md new file mode 100644 index 000000000..d075c6850 --- /dev/null +++ b/crmeb/runtime/readme.md @@ -0,0 +1,5 @@ +# 换成目录 +log 日志目录 +session session目录 +cache 换成目录 +temp 临时目录