diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-08-12 17:43:19 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-08-12 17:43:19 +0200 |
commit | 2722f77adf442481fb37f795e92ac8af672b2ed1 (patch) | |
tree | 20ec1fe296e66276cc852e1d88e7da3f96052a19 /app/view/templates/home.php | |
parent | ab324b42a3223b882145852c49a17bfa72099174 (diff) | |
download | wcms-2722f77adf442481fb37f795e92ac8af672b2ed1.tar.gz wcms-2722f77adf442481fb37f795e92ac8af672b2ed1.zip |
disable javascript config option, close #114
Diffstat (limited to 'app/view/templates/home.php')
-rw-r--r-- | app/view/templates/home.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/view/templates/home.php b/app/view/templates/home.php index 387ef0c..3d0b497 100644 --- a/app/view/templates/home.php +++ b/app/view/templates/home.php @@ -236,9 +236,15 @@ <?php $this->insert('footer', ['footer' => $footer]) ?> + +<?php if(!Wcms\Config::disablejavascript()) { ?> + <script src="<?= Wcms\Model::jspath() ?>home.bundle.js"></script> <?php } ?> +<?php } ?> + + <?php $this->stop() ?>
\ No newline at end of file |