diff options
| author | Eltrac Koalar <hi@guhub.cn> | 2020-03-30 21:28:21 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-30 21:28:21 +0800 |
| commit | ef908c79dbab19c283dbc22f022c5c59000eddb0 (patch) | |
| tree | ae4eb4c044e86eea800dcab0677cc4b70f9130df /index.php | |
| parent | 6812275866e557fd1610d5c1f125ea4ca5f47650 (diff) | |
| parent | a7951777aa4316cc8e01345410d699a57ef59f86 (diff) | |
Merge pull request #42 from outtimes/master
pull
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
