DaRKRaM Posted May 22, 2014 Share Posted May 22, 2014 (edited) Did anybody change ? the default IMG folder? [Prestashop 1.6] I need to change it. I already change the variables on config files, but system crash, uploading new pics etc.. Any idea? is this possible in Prestashop 1.6? thanksss regards, Edited May 22, 2014 by DaRKRaM (see edit history) Link to comment Share on other sites More sharing options...
S-HAMMANI Posted May 22, 2014 Share Posted May 22, 2014 Hi;You have to look in ./config./defines.inc.phpthe following line ~~ 67: define('_PS_IMG_DIR_' , _PS_ROOT_DIR_.'/img/');But before any changes, you must do the backup. Link to comment Share on other sites More sharing options...
DaRKRaM Posted May 23, 2014 Author Share Posted May 23, 2014 that is not working...if if do that,.,.i can not upload product pictures, and the -img src- continues the same /img/ seems like some modules only point to /img/ and is not only a system variable. Link to comment Share on other sites More sharing options...
S-HAMMANI Posted May 23, 2014 Share Posted May 23, 2014 Hi Tested : working 100% config/defines.inc.phpline 92: define('_PS_IMG_DIR_', _PS_ROOT_DIR_.'/img/'); if (!defined('_PS_HOST_MODE_')) define('_PS_CORE_IMG_DIR_', _PS_CORE_DIR_.'/img/'); else define('_PS_CORE_IMG_DIR_', _PS_ROOT_DIR_.'/img/'); /config/defines_uri.inc.php line 62: define('_PS_IMG_', __PS_BASE_URI__.'img/'); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now