We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65b0d0a commit 37b625bCopy full SHA for 37b625b
1 file changed
core/bootstrap.php
@@ -3,9 +3,11 @@
3
4
require_once __DIR__ . '/vendor/autoload.php';
5
6
-$tmp = __DIR__ . '.install';
7
-define('EVO_INSTALL_TIME', is_readable($tmp) ? (int)file_get_contents($tmp) : 0);
8
-unset($tmp);
+if (!defined('EVO_INSTALL_TIME')) {
+ $tmp = __DIR__ . '.install';
+ define('EVO_INSTALL_TIME', is_readable($tmp) ? (int)file_get_contents($tmp) : 0);
9
+ unset($tmp);
10
+}
11
12
$envFile = __DIR__ . '/custom/.env';
13
if (is_readable($envFile) && class_exists(Dotenv\Dotenv::class)) {
0 commit comments