summaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-02-07 08:11:18 +0100
committerBart Visscher <bartv@thisnet.nl>2013-02-07 08:11:18 +0100
commitc0b370f6cf8bf2ec3f4af921fc9f6935238ca41d (patch)
treec9ba59f047f9893e563221b140c623d5a243b6a6 /core/js/js.js
parent149d079fd4648f761820b13525bbb9064f9d5710 (diff)
downloadnextcloud-server-c0b370f6cf8bf2ec3f4af921fc9f6935238ca41d.tar.gz
nextcloud-server-c0b370f6cf8bf2ec3f4af921fc9f6935238ca41d.zip
Define the variables that are expected to exist but won't be set in setup
Diffstat (limited to 'core/js/js.js')
-rw-r--r--core/js/js.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 6b0c289850c..80914e954e5 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -5,6 +5,9 @@
* To the end of config/config.php to enable debug mode.
* The undefined checks fix the broken ie8 console
*/
+var oc_debug;
+var oc_webroot;
+var oc_requesttoken;
if (oc_debug !== true || typeof console === "undefined" || typeof console.log === "undefined") {
if (!window.console) {
window.console = {};