Merge pull request #868 from ldecoker/patch-8
[-] BO : Notices onBO translation page
This commit is contained in:
@@ -1221,6 +1221,8 @@ class AdminTranslationsControllerCore extends AdminController
|
|||||||
// Set the path of selected theme
|
// Set the path of selected theme
|
||||||
if ($this->theme_selected)
|
if ($this->theme_selected)
|
||||||
define('_PS_THEME_SELECTED_DIR_', _PS_ROOT_DIR_.'/themes/'.$this->theme_selected.'/');
|
define('_PS_THEME_SELECTED_DIR_', _PS_ROOT_DIR_.'/themes/'.$this->theme_selected.'/');
|
||||||
|
else
|
||||||
|
define('_PS_THEME_SELECTED_DIR_', '');
|
||||||
|
|
||||||
// Get type of translation
|
// Get type of translation
|
||||||
if (($type = Tools::getValue('type')) && !is_array($type))
|
if (($type = Tools::getValue('type')) && !is_array($type))
|
||||||
|
|||||||
Reference in New Issue
Block a user