// Some security stuff...
if (!defined('__SECURITY')) {
- $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+ $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
require($INC);
-} elseif (!EXT_IS_ACTIVE("")) {
+} elseif (!EXT_IS_ACTIVE('')) {
ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE);
return;
}
// Do not execute when script is in CSS mode or no daily reset
-if (($CSS == 1) || (isResetModeEnabled())) return;
+if ((getOutputMode() == 1) || (isResetModeEnabled())) return;
//
?>