From 8943ff97f3dea6770549f90295733b82a8b57073 Mon Sep 17 00:00:00 2001 From: misol Date: Fri, 20 Apr 2012 02:06:58 +0000 Subject: [PATCH] Issue 1858 fixed. git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10577 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/addon/addon.controller.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/addon/addon.controller.php b/modules/addon/addon.controller.php index 1adbc1312..c5af9828f 100644 --- a/modules/addon/addon.controller.php +++ b/modules/addon/addon.controller.php @@ -18,6 +18,9 @@ * @brief Main/Virtual-specific add-on file, the location of the cache Wanted **/ function getCacheFilePath($type = "pc") { + static $addon_file; + if(isset($addon_file)) return $addon_file; + $site_module_info = Context::get('site_module_info'); $site_srl = $site_module_info->site_srl;