瀏覽代碼

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']) {

Loading…
取消
儲存