[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [ocs-webserver] application/modules/default: hotfix: application config caching
From:       Alexander Schmidt <2f5ed1c5 () opayq ! com>
Date:       2016-10-16 16:07:30
Message-ID: E1bvnyE-0006S5-79 () code ! kde ! org
[Download RAW message or body]

Git commit d8e4201b5d11375d6f8ce2112aef677f83a0b9df by Alexander Schmidt.
Committed on 16/10/2016 at 16:07.
Pushed by alexanderschmidt into branch 'master'.

hotfix: application config caching

M  +1    -1    application/modules/default/Bootstrap.php

http://commits.kde.org/ocs-webserver/d8e4201b5d11375d6f8ce2112aef677f83a0b9df

diff --git a/application/modules/default/Bootstrap.php b/application/modules/default/Bootstrap.php
index d67432f..06b45ff 100644
--- a/application/modules/default/Bootstrap.php
+++ b/application/modules/default/Bootstrap.php
@@ -93,7 +93,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
 
             if (false == ($config = $cache->load('application_config'))) {
                 $config = new Zend_Config($this->getOptions(), true);
-                $cache->save($config, 'application_config', array(), null);
+                $cache->save($config, 'application_config', array(), 14400);
             }
         } else {
             $config = new Zend_Config($this->getOptions(), true);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic