X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=css.php;h=a2307fb42e371859da5bd99295763835d9213899;hb=d5196b1ffea1b731ef3b2eeb59a96fdbd4f97b5f;hp=45ad87d9543b2230d700e8ee62fa50a856965471;hpb=0437f06b273f885db05736449a952c6eb72086ca;p=mailer.git diff --git a/css.php b/css.php index 45ad87d954..a2307fb42e 100644 --- a/css.php +++ b/css.php @@ -17,7 +17,7 @@ * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * - * Copyright (c) 2003 - 2008 by Roland Haeder * + * Copyright (c) 2003 - 2009 by Roland Haeder * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -42,19 +42,15 @@ require('inc/libs/security_functions.php'); // Footer is disabled in CSS mode $GLOBALS['footer_sent'] = '-1'; -// Init variables -$GLOBALS['what'] = ''; -$GLOBALS['action'] = ''; - // This is a CSS file loader! -$GLOBALS['output_mode'] = '1'; +$GLOBALS['output_mode'] = 1; $GLOBALS['module'] = 'css'; // Load the required file(s) require('inc/config-global.php'); // Set header -sendHeader('Content-type: text/css'); +setContentType('text/css'); // Load header loadIncludeOnce('inc/header.php'); @@ -65,5 +61,5 @@ loadInclude('inc/stylesheet.php'); // Load footer loadIncludeOnce('inc/footer.php'); -// +// [EOF] ?>