// remove deprecated PS_ADMIN_DIR by _PS_ADMIN_DIR_

This commit is contained in:
tDidierjean
2011-09-20 15:53:57 +00:00
parent 5f9b669cf9
commit b556966762
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);