summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xupdate.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/update.php b/update.php
index e0c460273..6be19473f 100755
--- a/update.php
+++ b/update.php
@@ -2,6 +2,7 @@
<?php
define('DISABLE_SESSIONS', true);
+ chdir(dirname($_SERVER['SCRIPT_NAME']));
require_once "functions.php";
require_once "sanity_check.php";
require_once "config.php";