LocaleController path fix
This commit is contained in:
parent
2a96c6ec5b
commit
662f9d3486
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,8 @@ class LocaleController extends Zend_Controller_Action
|
||||||
$locale = Application_Model_Preference::GetLocale();
|
$locale = Application_Model_Preference::GetLocale();
|
||||||
echo "var datatables_dict =" .
|
echo "var datatables_dict =" .
|
||||||
file_get_contents(Application_Common_OsPath::join(
|
file_get_contents(Application_Common_OsPath::join(
|
||||||
$_SERVER["DOCUMENT_ROOT"],
|
//$_SERVER["DOCUMENT_ROOT"],
|
||||||
|
dirname(__FILE__) . "/../../public/", // Fixing this... -- Albert
|
||||||
"js/datatables/i18n/",
|
"js/datatables/i18n/",
|
||||||
$locale.".txt")
|
$locale.".txt")
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue