X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=theme%2Fdefault%2Ftheme.php;h=0afff1bde934da57f954925b878c9c2c08c54525;hb=013448f0470ca36ab15b888928e2127e6da7d9b6;hp=597694b31ce09250a636cdf7dabc85852d48b09e;hpb=f97a999e0737c0007ae9c3c26dfef49f75a175ac;p=mailer.git diff --git a/theme/default/theme.php b/theme/default/theme.php index 597694b31c..0afff1bde9 100644 --- a/theme/default/theme.php +++ b/theme/default/theme.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 * @@ -38,9 +38,8 @@ // Some security stuff... if (!defined('__SECURITY')) { - $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php'; - require($INC); -} + die(); +} // END - if // // Theme definitions @@ -63,13 +62,13 @@ $GLOBALS['theme_data']['version'] = '0.0'; // Switch mode if (empty($GLOBALS['theme_mode'])) $GLOBALS['theme_mode'] = 'load'; -switch ($GLOBALS['theme_mode']) -{ -case 'test': // Do stuff while testing the theme: The admin clicked on 'Import' - break; +switch ($GLOBALS['theme_mode']) { + case 'test': // Do stuff while testing the theme: The admin clicked on 'Import' + break; -case 'load': // Do stuff while theme is loaded normally - break; -} -// + case 'load': // Do stuff while theme is loaded normally + break; +} // END - switch + +// [EOF] ?>