CC-2184: Hardcoded CSS path should be relative path instead
-Make '/' the default root
This commit is contained in:
parent
ba66746a00
commit
fae3f3a03f
38 changed files with 303 additions and 298 deletions
|
@ -22,7 +22,7 @@ class LocaleController extends Zend_Controller_Action
|
|||
file_get_contents(Application_Common_OsPath::join(
|
||||
$_SERVER["DOCUMENT_ROOT"],
|
||||
$baseUrl,
|
||||
"/js/datatables/i18n/",
|
||||
"js/datatables/i18n/",
|
||||
$locale.".txt")
|
||||
);
|
||||
}
|
||||
|
@ -391,4 +391,4 @@ class LocaleController extends Zend_Controller_Action
|
|||
echo "var general_dict=".json_encode($translations);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue