I run everything off nGinx which does not use htaccess files so I cannot
comment on that bit. In the end there is no right / wrong way I suppose just
what ever works best for each scenario.

 

From: [email protected] [mailto:[email protected]] On Behalf
Of André Luis
Sent: Tuesday, April 02, 2013 3:18 PM
To: [email protected]
Subject: Re: Img / Images folder

 

When i started coding on Cake i tryed to change this directory too, i even
created another helper to use /images instead of /img, but when i´ve decided
to create a plugin called "Images", i´ve noticed that the .htacess doesnt
allow to access the plugin "Images", since the instructions in the .htaccess
file ignores a folder if it exists, them it would access the folder and not
the plugin. Them i´ve started liking more the /img folder instead of
/images, also /files instead of /downloads or /uploads...

Em segunda-feira, 1 de abril de 2013 22h35min30s UTC-3, advantage+ escreveu:

Not sure if this is a top priority but I do front end / back end and using
Photoshop it saves all sliced images to "images" folder so it is a pain in
the ass having to go into the folder, pull them and drop them in "img" to
reference them.

 

I tried changing the "img" folder but the only successful way was to
actually edit the Cake libs which is pretty much a no no,  and define() in
bootstrap resulted in errors. 

What is the best way to override "img" folder to actually use "images"?

 

Thanks,

 

Dave

 

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
--- 
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

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


Reply via email to