[Mapbender-commits] r9216 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Jun 19 04:42:20 PDT 2015
Author: armin11
Date: 2015-06-19 04:42:20 -0700 (Fri, 19 Jun 2015)
New Revision: 9216
Modified:
trunk/mapbender/http/javascripts/initWmcObj.php
Log:
store wmc to apc on demand
Modified: trunk/mapbender/http/javascripts/initWmcObj.php
===================================================================
--- trunk/mapbender/http/javascripts/initWmcObj.php 2015-06-16 07:04:37 UTC (rev 9215)
+++ trunk/mapbender/http/javascripts/initWmcObj.php 2015-06-19 11:42:20 UTC (rev 9216)
@@ -119,7 +119,8 @@
$wmc_filename = Mapbender::session()->get("mb_wmc");
$time_start = microtime();
//load it from whereever it has been stored
- $wmcDocSession = getWmcFromStorage($wmc_filename);
+ $wmcDocSession = $admin->getFromStorage($wmc_filename, TMP_WMC_SAVE_STORAGE);
+ //$wmcDocSession = getWmcFromStorage($wmc_filename);
$time_end = microtime();
$timediff = $time_end - $time_start;
$e = new mb_notice('initWmcObj.php: time to load wmc from storage: '.$timediff. '('.TMP_WMC_SAVE_STORAGE.')');
More information about the Mapbender_commits
mailing list