diff options
author | Andrew Dolgov <[email protected]> | 2011-12-11 23:59:25 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-12-11 23:59:25 +0400 |
commit | 107d0cf39e3801547a9a86b32762b772b25f6953 (patch) | |
tree | c76a639f2b4b77f14c0942aec7cd0117144ff24c /update.php | |
parent | 31303c6bbdaeed42a5cc72bc01f610ed7ca99663 (diff) |
overall directory tree cleanup
Diffstat (limited to 'update.php')
-rwxr-xr-x | update.php | 4 |
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); } |