From 6f84557682d510da8dd04a1e2b6408431090126f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 11 Oct 2009 16:57:14 +0000 Subject: [PATCH] Should not be loadInclude() here, we need to rewrite EXT_LOAD_MODE and EXT_VER here --- inc/language-functions.php | 2 +- inc/modules/admin/overview-inc.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/language-functions.php b/inc/language-functions.php index a148f534f5..8aa6350529 100644 --- a/inc/language-functions.php +++ b/inc/language-functions.php @@ -45,7 +45,7 @@ if (!defined('__SECURITY')) { // @TODO Rewrite all language constants to this function. function getMessage ($messageId) { // Default is not found! - $return = '!'.$messageId.'!'; + $return = '!' . $messageId . '!'; // Is the language string found? if (isset($GLOBALS['msg'][strtolower($messageId)])) { diff --git a/inc/modules/admin/overview-inc.php b/inc/modules/admin/overview-inc.php index 2a97db9b72..97b4ce5437 100644 --- a/inc/modules/admin/overview-inc.php +++ b/inc/modules/admin/overview-inc.php @@ -81,7 +81,7 @@ function OUTPUT_STANDARD_OVERVIEW (&$result_tasks) { } // END - if } else { // Test-drive extension in update mode - loadInclude(sprintf("inc/extensions/ext-%s.php", $ext_name)); + require(sprintf("%sinc/extensions/ext-%s.php", getConfig('PATH'), $ext_name)); // Update extension if extension is installed and outdated //* DEBUG: */ OUTPUT_HTML("ext={$ext_name},ver={EXT_GET_VERSION()}/".GET_EXT_VERSION($ext_name)."
"); -- 2.39.5