Browse Source

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

master
Dom SP 3 years ago
parent
commit
6695f880a6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/controller/page.php

+ 2
- 2
app/controller/page.php View File

@@ -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…
Cancel
Save