diff --git a/core/components/statcache/elements/plugins/StaticCache.php b/core/components/statcache/elements/plugins/StaticCache.php index 152c0f3..23ee0c1 100644 --- a/core/components/statcache/elements/plugins/StaticCache.php +++ b/core/components/statcache/elements/plugins/StaticCache.php @@ -100,7 +100,8 @@ array( 'deleteTop' => false, 'skipDirs' => false, - 'extensions' => array() + 'extensions' => array(), + 'delete_exclude_items' => explode(',', $modx->getOption('statcache_delete_exclude', $scriptProperties, '')) ) ); }