summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 016d6f2..1dbb533 100644
--- a/index.php
+++ b/index.php
@@ -27,7 +27,7 @@ $this->need('includes/header.php');
echo $this->fields->banner();
else:
if($this->options->randomBanner==''){
- echo Utils::indexTheme('images/postbg/'); echo mt_rand(1,mt_rand(1,20)); echo '.jpg';
+ echo Utils::indexTheme('images/postbg/'); srand(mb_strlen($this->title));echo rand(1,15).'.jpg';
}
else{
$banner_url = explode(',',$this->options->randomBanner);