aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/layout.php
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2019-01-30 21:15:17 +0100
committervincent-peugnet <v.peugnet@free.fr>2019-01-30 23:16:26 +0100
commit8ac5a09605992f1e434cb793ceca7497c6f46d23 (patch)
tree091f9879f8f94b849300fef2d1a1238f3881f78e /app/view/templates/layout.php
parent396a5776cd043e899e4897ec50fc8edc52585512 (diff)
downloadwcms-8ac5a09605992f1e434cb793ceca7497c6f46d23.tar.gz
wcms-8ac5a09605992f1e434cb793ceca7497c6f46d23.zip
feat: editBy to store the current editor of an art
Diffstat (limited to 'app/view/templates/layout.php')
-rw-r--r--app/view/templates/layout.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/view/templates/layout.php b/app/view/templates/layout.php
index e0b2e1c..b054791 100644
--- a/app/view/templates/layout.php
+++ b/app/view/templates/layout.php
@@ -12,7 +12,11 @@
<?php } ?>
<title><?= $title ?></title>
<link rel="stylesheet" href="<?= $css ?>">
-
+ <script>
+ // global js vars
+ const basepath = '/<?= Config::basepath() ?>/';
+ const jspath = '<?= Model::jspath() ?>';
+ </script>
</head>