X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=css.php;h=c722525cb3516e7b60c492af0cc2cf944a999a05;hp=1496f788b10b41e00fd157a750704000b80dd5f1;hb=f74581eca45c393033acfd9d7798b958031bc625;hpb=397eb5dee2611cfaa1ff494d73e6785b88109cd6 diff --git a/css.php b/css.php index 1496f788b1..c722525cb3 100644 --- a/css.php +++ b/css.php @@ -35,36 +35,33 @@ define('_OB_CACHING', "old"); // Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) ) -require_once("inc/libs/security_functions.php"); - -// Init "action" and "what" -global $what, $action, $footer; +require("inc/libs/security_functions.php"); // Footer is disabled in CSS mode -$footer = "-1"; +$GLOBALS['footer_sent'] = "-1"; // Init variables $GLOBALS['what'] = ""; $GLOBALS['action'] = ""; // This is a CSS file loader! -$CSS = "1"; +$GLOBALS['output_mode'] = "1"; $GLOBALS['module'] = "css"; // Set header header("Content-type: text/css"); // Load the required file(s) -require_once("inc/config.php"); +require("inc/config.php"); // Load header -LOAD_INC_ONCE("inc/header.php"); +LOAD_INC("inc/header.php"); // Load CSS code -LOAD_INC_ONCE("inc/stylesheet.php"); +LOAD_INC("inc/stylesheet.php"); // Load footer -LOAD_INC_ONCE("inc/footer.php"); +LOAD_INC("inc/footer.php"); // ?>