Huge script change, see http://forum.mxchange.org/topic-458.html for details:
[mailer.git] / theme / business / theme.php
index 5a7aed22cc8e8c25b4a7632e90a3b7073d039cd4..0c3863a47f7fd7775e9202721429c1ddca4661a2 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]
 ?>