summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-12-11 23:59:25 +0400
committerAndrew Dolgov <[email protected]>2011-12-11 23:59:25 +0400
commit107d0cf39e3801547a9a86b32762b772b25f6953 (patch)
treec76a639f2b4b77f14c0942aec7cd0117144ff24c /update.php
parent31303c6bbdaeed42a5cc72bc01f610ed7ca99663 (diff)
overall directory tree cleanup
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/update.php b/update.php
index 7b17c60f8..e6063a9e8 100755
--- a/update.php
+++ b/update.php
@@ -1,5 +1,7 @@
#!/usr/bin/php
<?php
+ set_include_path(get_include_path() . PATH_SEPARATOR . "include");
+
define('DISABLE_SESSIONS', true);
chdir(dirname(__FILE__));
@@ -120,7 +122,7 @@
}
db_close($link);
-
+
if ($lock_handle != false) {
fclose($lock_handle);
}