// remove deprecated PS_ADMIN_DIR by _PS_ADMIN_DIR_

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8666 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-09-20 15:53:57 +00:00
parent b9e7daf0b7
commit b45dd02452
79 changed files with 339 additions and 339 deletions
+2 -2
View File
@@ -96,9 +96,9 @@ class AdminOrdersStates extends AdminTab
private function getTemplates($iso_code)
{
$array = array();
if (!file_exists(PS_ADMIN_DIR.'/../mails/'.$iso_code))
if (!file_exists(_PS_ADMIN_DIR_.'/../mails/'.$iso_code))
return false;
$templates = scandir(PS_ADMIN_DIR.'/../mails/'.$iso_code);
$templates = scandir(_PS_ADMIN_DIR_.'/../mails/'.$iso_code);
foreach ($templates AS $template)
if (!strncmp(strrev($template), 'lmth.', 5))
$array[] = substr($template, 0, -5);