summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/update.php b/update.php
index 50b9fc412..64b5795fa 100755
--- a/update.php
+++ b/update.php
@@ -1,18 +1,15 @@
#!/usr/bin/php
<?php
- define('DEFAULT_ERROR_LEVEL', E_ERROR | E_WARNING | E_PARSE);
define('DISABLE_SESSIONS', true);
if (!defined('PHP_EXECUTABLE'))
define('PHP_EXECUTABLE', '/usr/bin/php');
- error_reporting(DEFAULT_ERROR_LEVEL);
-
+ require_once "functions.php";
require_once "sanity_check.php";
require_once "config.php";
require_once "db.php";
require_once "db-prefs.php";
- require_once "functions.php";
$op = $argv[1];