// translations iso code was hard coded
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10356 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -137,7 +137,7 @@ abstract class HTMLTemplateCore
|
|||||||
if (!Validate::isLangIsoCode($iso))
|
if (!Validate::isLangIsoCode($iso))
|
||||||
die('Invalid iso lang ('.$iso.')');
|
die('Invalid iso lang ('.$iso.')');
|
||||||
|
|
||||||
if (@!include(_PS_THEME_DIR_.'pdf/'.'fr'.'.php'))
|
if (@!include(_PS_THEME_DIR_.'pdf/'.$iso.'.php'))
|
||||||
die('Cannot include PDF translation language file : '._PS_THEME_DIR_.'pdf/'.$iso.'.php');
|
die('Cannot include PDF translation language file : '._PS_THEME_DIR_.'pdf/'.$iso.'.php');
|
||||||
|
|
||||||
if (!isset($_LANGPDF) OR !is_array($_LANGPDF))
|
if (!isset($_LANGPDF) OR !is_array($_LANGPDF))
|
||||||
|
|||||||
Reference in New Issue
Block a user