]> git.mxchange.org Git - mailer.git/blobdiff - theme/default/theme.php
More fixes for bonus ranking
[mailer.git] / theme / default / theme.php
index 3452e5920a2198cca7feb5fa2c82e73e938790be..0afff1bde934da57f954925b878c9c2c08c54525 100644 (file)
@@ -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'])
-{
+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;
-}
-//
+} // END - switch
+
+// [EOF]
 ?>