$INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
require($INC);
} elseif (!EXT_IS_ACTIVE("yoomedia")) {
- ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "yoomedia");
+ addFatalMessage(getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "yoomedia");
return;
}
ADMIN_SAVE_SETTINGS($_POST);
} else {
// Config not saved
- LOAD_TEMPLATE("admin_settings_saved", false, ADMIN_CONFIG_YOOMEDIA_TEST_FAILED);
+ LOAD_TEMPLATE("admin_settings_saved", false, getMessage('ADMIN_CONFIG_YOOMEDIA_TEST_FAILED'));
}
} else {
// Prepare content