summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.base.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-11-15 19:43:10 +0100
committerThomas Tanghus <thomas@tanghus.net>2012-11-15 19:43:10 +0100
commitb51b9539d074222d01bd4a9836be6fe2f191a31e (patch)
treec5aff4e3f55fceb97eb6c747c61bff4307658eb6 /core/templates/layout.base.php
parent8a93cc14f66b6d2d725ae52ce0bf632a03fac59d (diff)
downloadnextcloud-server-b51b9539d074222d01bd4a9836be6fe2f191a31e.tar.gz
nextcloud-server-b51b9539d074222d01bd4a9836be6fe2f191a31e.zip
Very simple js console switcher.
Diffstat (limited to 'core/templates/layout.base.php')
-rw-r--r--core/templates/layout.base.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php
index d8f83058775..47f4b423b3e 100644
--- a/core/templates/layout.base.php
+++ b/core/templates/layout.base.php
@@ -8,6 +8,7 @@
<link rel="stylesheet" href="<?php echo $cssfile; ?>" type="text/css" media="screen" />
<?php endforeach; ?>
<script type="text/javascript">
+ var oc_debug = <?php echo (defined('DEBUG') && DEBUG) ? 'true' : 'false'; ?>;
var oc_webroot = '<?php echo OC::$WEBROOT; ?>';
var oc_appswebroots = <?php echo $_['apps_paths'] ?>;
var oc_requesttoken = '<?php echo $_['requesttoken']; ?>';