diff --git a/modules/widget/widget.controller.php b/modules/widget/widget.controller.php index 613ea39d3..b8eb60c8b 100644 --- a/modules/widget/widget.controller.php +++ b/modules/widget/widget.controller.php @@ -409,7 +409,10 @@ class widgetController extends widget } } // cache update and cache renewal of the file mtime - touch($cache_file); + if(!$oCacheHandler->isSupport()) + { + touch($cache_file); + } $oWidget = $this->getWidgetObject($widget); if(!$oWidget || !method_exists($oWidget,'proc')) return;