
Originally Posted by
carlwhat
post lines 30-50 here, and lets see where you went adrift.
also please indicate which line is the one where the error occurs.
Code:
require(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . 'lang.' . FILENAME_MAIL . '.php');
require(DIR_WS_CLASSES . 'currencies.php');
$currencies = new currencies();
if##(!function_exists('defineIfNot'))##{
########function##defineIfNot(string##$name,##string##$definition)
########{
################if##(!defined($name))##{
########################define($name,##$definition);
################}
########}
}
foreach##($define##as##$key##=>##$value)##{
########defineIfNot($key,##$value);
}
$action##=##$_GET['action']##??##'noAction';
The error indicates the error is in line 41 if##(!function_exists('defineIfNot'))##{