[feature/module_services] Disable caching of portal modules when debug enabled
This commit is contained in:
1 parent
e26c88e963
commit
0eacefc1da
1 file changed
+1
-1
@@ -72,7 +72,7 @@ function obtain_portal_modules()
|
||||
{
|
||||
global $db, $cache, $portal_modules;
|
||||
|
||||
if (($portal_modules = $cache->get('portal_modules')) === false)
|
||||
if (($portal_modules = $cache->get('portal_modules')) === false || defined('DEBUG'))
|
||||
{
|
||||
$portal_modules = $portal_cached_modules = array();
|
||||
|
||||
|
||||
Reference in new issue
Block a user