Change Image Path
In older 1.3 version I had paths.php which allowed me to change the default img folder to images.
/**
* Path to the public images directory.
*/
define('IMAGES', WWW_ROOT.'images'.DS);
/**
* Web path to the public images directory.
*/
if (!defined('IMAGES_URL')) {
define('IMAGES_URL', 'images/');
}
But no longer see that file in 2.2.3
How / where can I change it so $this->Html->image will look in images and not img folder?
I see its defined in Cake/bootstrap.php but not supposed to edit core lib files.
If I add that to my Config/bootstrap.php it says
Constant IMAGES already defined [APP/Config/bootstrap.php, line 58] which is where I added it in my bootstrap file.
Any ideas?
Thanks,
Dave
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home