X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=themes%2Fin_the_pink.php;h=3a9fd6cc5e157bf5daaf7e633d17ad512d835bbe;hb=154ad29922545208762478453537397b094ae2d5;hp=e314ea6001210889bd6a5c828b6f29e4d3f7b491;hpb=4b4abf93a9624311afef0c385023724ee46a2b60;p=squirrelmail.git diff --git a/themes/in_the_pink.php b/themes/in_the_pink.php index e314ea60..3a9fd6cc 100755 --- a/themes/in_the_pink.php +++ b/themes/in_the_pink.php @@ -8,13 +8,22 @@ * 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();