Thanks, I found that WWW_ROOT is ok:)

----- Original Message ----- 
From: "David Roda" <[email protected]>
To: <[email protected]>
Sent: Monday, November 16, 2009 12:04 AM
Subject: Re: How to check if an image exist or not


> Try adding debug(WEBROOT_DIR.'/img/'.$file); at the top of your page and
> check the output
> On Sun, 2009-11-15 at 07:48 -0800, PDEagle wrote:
>> WEBROOT_DIR.'/img/'.$file
> 
> --
> 
> 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=.
> 
> 
>

--

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