diff --git a/lib/speed_up.php b/lib/speed_up.php index c1b6b0e..ad16000 100644 --- a/lib/speed_up.php +++ b/lib/speed_up.php @@ -161,7 +161,9 @@ public function show() $preload_media_config = explode(",", speed_up::getConfig('preload_media')); foreach ($preload_media_config as $file) { - echo ''.PHP_EOL; + if ($media = rex_media::get($file)) { + echo ''.PHP_EOL; + } } if (self::getConfig('profile') === "custom") {