From 5baf463678698271b14c0f1f49c7751eadc0fc37 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 29 Aug 2005 18:48:25 +0000 Subject: - Patch #29669 by Neil: micro-performance improvement for update.php + removed PHP warning. --- update.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'update.php') 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() { '; } -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); } -- cgit v1.2.3