Hi all,

I want to check whether one image file exists or not in cake, I coded
like this (in my helper file):

if( !file_exists( WEBROOT_DIR.'/img/'.$file ) )
{...}

However, it cannot check it correctly. Can anyone tell me how can
manage it? Thanks.

--

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=.


Reply via email to