Thanks, I found that WWW_ROOT is ok:)

----- Original Message ----- 
From: "David Roda" <davidcr...@gmail.com>
To: <cake-php@googlegroups.com>
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 cake-...@googlegroups.com.
> To unsubscribe from this group, send email to 
> cake-php+unsubscr...@googlegroups.com.
> 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 cake-...@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=.


Reply via email to