]> git.mxchange.org Git - mailer.git/commitdiff
Should not be loadInclude() here, we need to rewrite EXT_LOAD_MODE and EXT_VER here
authorRoland Häder <roland@mxchange.org>
Sun, 11 Oct 2009 16:57:14 +0000 (16:57 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 11 Oct 2009 16:57:14 +0000 (16:57 +0000)
inc/language-functions.php
inc/modules/admin/overview-inc.php

index a148f534f5e343365b6120ed7707d9060d470ca4..8aa635052922ac45c81be76e16e77ee7fa94d94e 100644 (file)
@@ -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)])) {
index 2a97db9b72320c527f547ab41e36d77f2a222dfd..97b4ce5437e8d2326b4b585672bd9fe2e08268d2 100644 (file)
@@ -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)."<br />");