[feature/module_services] Disable caching of portal modules when debug enabled
This commit is contained in:
@@ -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