Line 1077 in /www/wwwroot/skachat.online/framework/view/SSViewer.php
1068 * Can only be called once per request (there may be multiple SSViewer instances). 1069 * 1070 * @param bool $force Set this to true to force a re-flush. If left to false, flushing 1071 * may only be performed once a request. 1072 */ 1073 public static function flush_template_cache($force = false) { 1074 if (!self::$template_cache_flushed || $force) { 1075 $dir = dir(TEMP_FOLDER); 1076 while (false !== ($file = $dir->read())) { 1077 if (strstr($file, '.cache')) unlink(TEMP_FOLDER . '/' . $file); 1078 } 1079 self::$template_cache_flushed = true; 1080 } 1081 } 1082 1083 /**