浏览代码

don't cach banner image (because cache messes up alpha channel enabled images)

master
Dom SP 3 年前
父节点
当前提交
6695f880a6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      app/controller/page.php

+ 2
- 2
app/controller/page.php 查看文件

@@ -102,8 +102,8 @@ class Page {
);
if ($f3->get('hasBanner')) {
$banner = new \Modules\CachedImage($folder->extras['banner']);
$f3->set('banner',$banner->get_src(2000));
//$banner = new \Modules\CachedImage($folder->extras['banner']);
$f3->set('banner',$folder->extras['banner']);//$banner->get_src(2000));
}
if ($folder->extras['background']
&& !$folder->config['supressBackground']) {

正在加载...
取消
保存