diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-08-29 18:48:25 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-08-29 18:48:25 +0000 |
commit | 5baf463678698271b14c0f1f49c7751eadc0fc37 (patch) | |
tree | fb42023f17da865432f2c8a0cdbfa08856485d98 /update.php | |
parent | 21c2885b0e9b44c44adf27e773c0a65c64f096af (diff) | |
download | brdo-5baf463678698271b14c0f1f49c7751eadc0fc37.tar.gz brdo-5baf463678698271b14c0f1f49c7751eadc0fc37.tar.bz2 |
- Patch #29669 by Neil: micro-performance improvement for update.php + removed
PHP warning.
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/update.php b/update.php index e02721575..91887c195 100644 --- a/update.php +++ b/update.php @@ -21,7 +21,7 @@ if (!ini_get("safe_mode")) { set_time_limit(180); } -include_once "database/updates.inc"; +include_once './database/updates.inc'; function update_data($start) { global $sql_updates; @@ -99,7 +99,7 @@ function update_access_denied_page() { </ol>'; } -include_once "includes/bootstrap.inc"; +include_once './includes/bootstrap.inc'; drupal_maintenance_theme(); if (isset($_GET["op"])) { drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); @@ -125,7 +125,7 @@ else { $output = update_info_page(); } -if ($output) { +if (isset($output)) { print theme('maintenance_page', $output); } |