summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.php b/index.php
index dd226f5b..1c98f2b3 100644
--- a/index.php
+++ b/index.php
@@ -53,6 +53,7 @@ if (PHP_SAPI == 'cli') {
define('VARPATH', strtr(realpath('test/var') . '/', DIRECTORY_SEPARATOR, '/'));
@copy("var/database.php", VARPATH . "database.php");
} else {
+ define('TEST_MODE', 0);
if (file_exists('var')) {
define('VARPATH', strtr(realpath('var') . '/', DIRECTORY_SEPARATOR, '/'));
} else {