Problem with {if} and file_exists

From: Date: Wed, 07 May 2003 14:39:53 +0000
Subject: Problem with {if} and file_exists
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9494@lists.php.net to get a copy of this message
Hello, I have to check, if an image exists or not. I tried it with the following if statement, but it won't work. Is there any possibility to do that? {if file_exists("/home/shop/public_html/media/manufacturer/".$article.item_manufacturer|lower.".gif")} Thanks for help, Andreas

« previous php.smarty.general (#9494) next »