From: Thijs K. <ki...@us...> - 2003-03-07 15:26:51
|
Update of /cvsroot/squirrelmail/squirrelmail/themes In directory sc8-pr-cvs1:/tmp/cvs-serv8902/themes Modified Files: random.php Log Message: Fix requirements to reflect actual requirements according to Marc. Index: random.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/themes/random.php,v retrieving revision 1.5 retrieving revision 1.6 diff -u -w -r1.5 -r1.6 --- random.php 31 Dec 2002 12:49:43 -0000 1.5 +++ random.php 7 Mar 2003 15:26:45 -0000 1.6 @@ -26,8 +26,9 @@ $good_themes[] = $data['PATH']; } } - if (count($good_themes) == 0) + if (count($good_themes) == 0) { $good_themes[] = '../themes/default.php'; + } $which = mt_rand(0, count($good_themes)); $random_theme_good_theme = $good_themes[$which]; sqsession_register($random_theme_good_theme, 'random_theme_good_theme'); |