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

 

 

-- 
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to