LocaleController path fix

This commit is contained in:
Albert Santoni 2014-09-08 21:18:57 -04:00
parent 2a96c6ec5b
commit 662f9d3486

View file

@ -15,7 +15,8 @@ class LocaleController extends Zend_Controller_Action
$locale = Application_Model_Preference::GetLocale();
echo "var datatables_dict =" .
file_get_contents(Application_Common_OsPath::join(
$_SERVER["DOCUMENT_ROOT"],
//$_SERVER["DOCUMENT_ROOT"],
dirname(__FILE__) . "/../../public/", // Fixing this... -- Albert
"js/datatables/i18n/",
$locale.".txt")
);