diff --git a/library/Class/Plan.php b/library/Class/Plan.php index 138f85615bc443eafc1d4a890c2831cac7aafbb6..d033922ee2c81027f0cb2919e0b7f2f77780b393 100644 --- a/library/Class/Plan.php +++ b/library/Class/Plan.php @@ -68,7 +68,7 @@ class Class_Plan extends Storm_Model_Abstract { $img = "photobib/plans/".$this->getImage(); - if(!self::getFileSystem()->file_exists( ROOT_PATH . '/userfiles/'.$img)) + if(!self::getFileSystem()->file_exists( $this->getImageServerPath().$this->getImage())) return ''; return USERFILESURL . $img;