openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 1703cb8c918807218468e6716c4332d60f3557d8
parent aeb38612d67b48752e61b5cb7c86da4994944dd3
Author: Jan Dankert <devnull@localhost>
Date:   Mon, 20 Nov 2017 22:56:24 +0100

Default-Stylekonfig berücksichtigen.

Diffstat:
action/IndexAction.class.php | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/action/IndexAction.class.php b/action/IndexAction.class.php @@ -34,7 +34,7 @@ class IndexAction extends Action function IndexAction() { $this->perspective = Session::get('perspective'); - $this->lastModified( config('config','last_modification') ); + $this->lastModified( config('config','last_modification_time') ); } @@ -236,7 +236,7 @@ class IndexAction extends Action )); $parser->parseFile($lessFile,basename($lessFile)); - $styleConfig = config('style', $styleId); + $styleConfig = config('style-default') + config('style', $styleId); $lessVars = array( 'cms-theme-id' => strtolower($styleId), 'cms-image-path' => 'themes/default/images/' @@ -255,7 +255,7 @@ class IndexAction extends Action if (PRODUCTION) { - return $this->minifyCSS($css); + return $css; // Should we minify here? Bandwidth vs. cpu-load. } else {