diff --git a/.gitignore b/.gitignore index 6c72645ef..f12c9200c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,14 @@ /.git /.idea /crmeb/.constant -/crmeb/runtime +/crmeb/runtime/cache +/crmeb/runtime/log +/crmeb/runtime/session +/crmeb/runtime/temp /crmeb/public/uploads *.log /crmeb/public/install/install.lock -/crmeb/.env +#/crmeb/.env /crmeb/timer.pid /crmeb/workerman.pid /docker-compose/mysql/data/ diff --git a/crmeb/public/install/templates/step2.php b/crmeb/public/install/templates/step2.php index 7ce0aa009..e0dc8fa7b 100644 --- a/crmeb/public/install/templates/step2.php +++ b/crmeb/public/install/templates/step2.php @@ -147,28 +147,32 @@ foreach ($file as $dir) { $Testdir = APP_DIR . $dir; @unlink($Testdir); - } - $file_env = APP_DIR . ".env"; - @fopen($file_env, "w"); - if (testwrite($file_env)) { - $w = '√可写 '; - } else { - $w = '√不可写 '; - $err++; - } - if (is_readable($file_env)) { - $r = '√可读'; - } else { - $r = '√不可读'; - $err++; + $file_env = APP_DIR . ".env"; + @fopen($file_env, "w"); + if (testwrite($file_env)) { + $w = '√可写 '; + } else { + $w = '√不可写 '; + $err++; + } + if (is_readable($file_env)) { + $r = '√可读'; + } else { + $r = '√不可读'; + $err++; + } + ?> + + + + 读写 + + + + - - / - 读写 - - - + diff --git a/crmeb/runtime/index.html b/crmeb/runtime/index.html new file mode 100644 index 000000000..e69de29bb