// @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)])) {
} // 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 />");