projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow caller to get message object before sending
[squirrelmail.git]
/
themes
/
random.php
diff --git
a/themes/random.php
b/themes/random.php
old mode 100755
(executable)
new mode 100644
(file)
index
447a95b
..
044c1cd
--- a/
themes/random.php
+++ b/
themes/random.php
@@
-6,7
+6,7
@@
* Comment: Guess what this does!
*
* @author Tyler Akins
* Comment: Guess what this does!
*
* @author Tyler Akins
- * @copyright
© 2000-2007
The SquirrelMail Project Team
+ * @copyright
2000-2018
The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
@@
-14,17
+14,12
@@
*/
/** Prevent direct script loading */
*/
/** 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__) ) {
+if (isset($_SERVER['SCRIPT_FILENAME']) && $_SERVER['SCRIPT_FILENAME'] == __FILE__) {
die();
}
/** load required functions */
include_once(SM_PATH . 'functions/global.php');
die();
}
/** load required functions */
include_once(SM_PATH . 'functions/global.php');
-include_once(SM_PATH . 'functions/strings.php');
-
-/** Initialize the random number generator */
-sq_mt_randomize();
global $theme;
global $theme;