Define the variables that are expected to exist but won't be set in setup
This commit is contained in:
parent
149d079fd4
commit
c0b370f6cf
|
@ -5,6 +5,9 @@
|
||||||
* To the end of config/config.php to enable debug mode.
|
* To the end of config/config.php to enable debug mode.
|
||||||
* The undefined checks fix the broken ie8 console
|
* 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 (oc_debug !== true || typeof console === "undefined" || typeof console.log === "undefined") {
|
||||||
if (!window.console) {
|
if (!window.console) {
|
||||||
window.console = {};
|
window.console = {};
|
||||||
|
|
Loading…
Reference in New Issue