information about MailSite
[squirrelmail.git] / themes / shades_of_grey.php
index f6e5309b01f351dd963d4f1f88073ce72f233920..b86f621622f53d355f68397ea971eacfb436ef3a 100755 (executable)
@@ -7,13 +7,22 @@
  *         light greyish background with dark text.
  *
  * @author Jorey Bump
- * @copyright © 2000-2005 The SquirrelMail Project Team
+ * @copyright © 2000-2006 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  * @subpackage themes
  */
 
+/** Prevent direct script loading */
+if ((isset($_SERVER['SCRIPT_FILENAME']) && $_SERVER['SCRIPT_FILENAME'] == __FILE__) ||
+    (isset($HTTP_SERVER_SERVER['SCRIPT_FILENAME']) && $HTTP_SERVER_SERVER['SCRIPT_FILENAME'] == __FILE__) ) {
+    die();
+}
+
+/** load sq_mt_randomize() */
+include_once(SM_PATH . 'functions/strings.php');
+
 /** seed the random number generator */
 sq_mt_randomize();