Module: nagvis
Branch: nagvis-1.5
Commit: 560237ad827889fdff3363d5a94659addbe239d5
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=560237ad827889fdff3363d5a94659addbe239d5

Author: Lars Michelsen <[email protected]>
Date:   Thu Dec  2 14:47:11 2010 +0100

Fixed map config cache reload when main config file changed

---

 share/server/core/classes/GlobalMainCfg.php |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/share/server/core/classes/GlobalMainCfg.php 
b/share/server/core/classes/GlobalMainCfg.php
index 4d1381f..f0674f7 100644
--- a/share/server/core/classes/GlobalMainCfg.php
+++ b/share/server/core/classes/GlobalMainCfg.php
@@ -950,6 +950,9 @@ class GlobalMainCfg {
                        $this->config = $this->CACHE->getCache();
                }
 
+               // Update the cache time
+               $this->useCache = $this->CACHE->isCached(false);
+
                // Parse the state weight array
                $this->parseStateWeight();
                


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to