我想做这样的事情
{if image_exists} <img src='{$path}{$imagename}'> {else} <img src='{$path}default.jpg'> {/if}
我该如何解决这个问题?
php smarty
php ×1
smarty ×1