add .env.example

This commit is contained in:
xiaomlove
2021-01-27 16:46:39 +08:00
parent a5cfa1372c
commit 5c90a962e7
4 changed files with 12 additions and 11 deletions

View File

@@ -3,7 +3,7 @@ if(!defined('IN_TRACKER')) {
die('Hacking attempt!');
}
if (!file_exists($rootpath . '.env')) {
header('Location: ' . getBaseUrl() . '/install/install.php');
header('Location: ' . getBaseUrl() . 'install/install.php');
exit(0);
}
error_reporting(E_ALL);