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 8c29aa26..78a16f25 100644
--- a/index.php
+++ b/index.php
@@ -56,6 +56,7 @@ if (PHP_SAPI == 'cli') {
define('TEST_MODE', 0);
define('VARPATH', strtr(realpath('var') . '/', DIRECTORY_SEPARATOR, '/'));
}
+define('TMPPATH', VARPATH . '/tmp');
// Initialize.
require SYSPATH . 'core/Bootstrap' . EXT;