diff options
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); } |