Define the variables that are expected to exist but won't be set in setup
This commit is contained in:
parent
149d079fd4
commit
c0b370f6cf
1 changed files with 3 additions and 0 deletions
|
@ -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 = {};
|
||||
|
|
Loading…
Reference in a new issue