Skip to content
Snippets Groups Projects
Commit 800c39fe authored by Jörn Friedrich Dreyer's avatar Jörn Friedrich Dreyer
Browse files

cleanup after people who don't test in ie

parent 0f314c14
No related branches found
No related tags found
No related merge requests found
......@@ -26,8 +26,8 @@ $array = array(
"oc_debug" => (defined('DEBUG') && DEBUG) ? 'true' : 'false',
"oc_webroot" => "\"".OC::$WEBROOT."\"",
"oc_appswebroots" => str_replace('\\/', '/', json_encode($apps_paths)), // Ugly unescape slashes waiting for better solution
"oc_current_user" => "document.head.getAttribute('data-user')",
"oc_requesttoken" => "document.head.getAttribute('data-requesttoken')",
"oc_current_user" => "document.getElementsByTagName('head')[0].getAttribute('data-user')",
"oc_requesttoken" => "document.getElementsByTagName('head')[0].getAttribute('data-requesttoken')",
"datepickerFormatDate" => json_encode($l->l('jsdate', 'jsdate')),
"dayNames" => json_encode(
array(
......@@ -62,4 +62,4 @@ $array = array(
// Echo it
foreach ($array as $setting => $value) {
echo("var ". $setting ."=".$value.";\n");
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment