X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=themes%2Fspice_of_life_dark.php;h=eb17f92e0aa130b1ffb0521ee5e07c115620833a;hb=154ad29922545208762478453537397b094ae2d5;hp=b9718cf94a99319b3aeec7768991a4f08863b878;hpb=47ccfad452e8d345542d09e59112cac317cffed8;p=squirrelmail.git diff --git a/themes/spice_of_life_dark.php b/themes/spice_of_life_dark.php index b9718cf9..eb17f92e 100755 --- a/themes/spice_of_life_dark.php +++ b/themes/spice_of_life_dark.php @@ -14,6 +14,15 @@ * @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();