diff options
| author | outtime <i@timewk.cn> | 2020-03-30 19:08:42 +0800 |
|---|---|---|
| committer | outtime <i@timewk.cn> | 2020-03-30 19:08:42 +0800 |
| commit | 1e1da50ce7dee921380c414822915b974d5e1712 (patch) | |
| tree | 61222d867fcdc38fc302b3a04ceb09a9850ded05 /index.php | |
| parent | a5b60155ce6f9fde246f19b05e0ef50546ec1063 (diff) | |
🖼Add: 新封面以及固定文章随机图
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); |
