summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshadlaws <shad@shadlaws.com>2013-01-25 13:36:27 +0100
committershadlaws <shad@shadlaws.com>2013-01-25 13:36:27 +0100
commitf90cd11bcf087b001d0d84a3c2f32a36863cf4fb (patch)
treefb21164e1f0b2ff7b8e47090b781ba2c37f9114f
parent4c1dc8457e82bd8960e10416981b5dadfc3aebe4 (diff)
#1964 - TMPPATH is mis-defined in index.php.
- fixed mis-definition of TMPPATH, which was resulting in something like .../gallery/var//tmp/
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 9ff8e3b4..5f6d231b 100644
--- a/index.php
+++ b/index.php
@@ -106,7 +106,7 @@ if (PHP_SAPI == "cli") {
define("TEST_MODE", 0);
define("VARPATH", realpath("var") . "/");
}
-define("TMPPATH", VARPATH . "/tmp/");
+define("TMPPATH", VARPATH . "tmp/");
if (file_exists("local.php")) {
include("local.php");