Images.php
authorAlan <alan@roojs.com>
Mon, 27 Mar 2023 04:47:35 +0000 (12:47 +0800)
committerAlan <alan@roojs.com>
Mon, 27 Mar 2023 04:47:35 +0000 (12:47 +0800)
Images.php

index a58fa2c..48f596b 100644 (file)
@@ -285,7 +285,7 @@ class Pman_Core_Images extends Pman
     {
         $this->sessionState(0); // turn off session... - locking...
         require_once 'File/Convert.php';
-        if (!file_exists($img->getStoreName())) {
+        if ($img->exists()) {
             
             $this->imgErr("serve = missing-image");