summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.base.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/templates/layout.base.php')
-rw-r--r--core/templates/layout.base.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php
index 47fb75612cf..08083a2924a 100644
--- a/core/templates/layout.base.php
+++ b/core/templates/layout.base.php
@@ -7,7 +7,15 @@
<?php foreach ($_['cssfiles'] as $cssfile): ?>
<link rel="stylesheet" href="<?php echo $cssfile; ?>" type="text/css" media="screen" />
<?php endforeach; ?>
+<<<<<<< HEAD
<script type="text/javascript" src="<?php echo OC_Helper::linkToRoute('js_config');?>"></script>
+=======
+ <script type="text/javascript">
+ var oc_debug = <?php echo (defined('DEBUG') && DEBUG) ? 'true' : 'false'; ?>;
+ var oc_webroot = '<?php echo OC::$WEBROOT; ?>';
+ var oc_requesttoken = '<?php echo $_['requesttoken']; ?>';
+ </script>
+>>>>>>> master
<?php foreach ($_['jsfiles'] as $jsfile): ?>
<script type="text/javascript" src="<?php echo $jsfile; ?>"></script>
<?php endforeach; ?>