mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 23:55:55 +08:00
Bugfix undefined $oConfig
This commit is contained in:
parent
a4aec30035
commit
6d7c84226a
|
@ -551,7 +551,7 @@ class ServiceActions
|
||||||
$sTheme = $this->oActions->ValidateTheme($this->aPaths[4]);
|
$sTheme = $this->oActions->ValidateTheme($this->aPaths[4]);
|
||||||
|
|
||||||
$bAppDebug = $this->Config()->Get('debug', 'enable', false);
|
$bAppDebug = $this->Config()->Get('debug', 'enable', false);
|
||||||
$sMinify = ($bAppDebug || $oConfig->Get('labs', 'use_app_debug_css', false)) ? '' : 'min';
|
$sMinify = ($bAppDebug || $this->Config()->Get('labs', 'use_app_debug_css', false)) ? '' : 'min';
|
||||||
|
|
||||||
$bCacheEnabled = !$bAppDebug && $this->Config()->Get('labs', 'cache_system_data', true);
|
$bCacheEnabled = !$bAppDebug && $this->Config()->Get('labs', 'cache_system_data', true);
|
||||||
if ($bCacheEnabled) {
|
if ($bCacheEnabled) {
|
||||||
|
|
Loading…
Reference in a new issue