diff --git a/ASCIIToSVG.php b/ASCIIToSVG.php index 644b446..75af20a 100644 --- a/ASCIIToSVG.php +++ b/ASCIIToSVG.php @@ -1767,7 +1767,7 @@ public static function loadObjects() { $file = "{$dir}/{$ent}"; $base = substr($ent, 0, -5); if (substr($ent, -5) == '.path' && is_readable($file)) { - if (isset(self::$objects[$base]) && + if (isset(self::$objects[$base]) && isset(self::$cacheTime) && filemtime($file) <= self::$cacheTime) { continue; }