Browse Source

improve config of small image

master
filesite 4 months ago
parent
commit
9c95094385
  1. 2
      themes/beauty/views/layout/main.php

2
themes/beauty/views/layout/main.php

@ -102,7 +102,7 @@ require_once __DIR__ . '/../../../../plugins/Html.php'; @@ -102,7 +102,7 @@ require_once __DIR__ . '/../../../../plugins/Html.php';
<script src="/js/video.min.js"></script>
<script src="/js/beauty.js?v<?= Html::getStaticFileVersion('beauty.js', 'js') ?>"></script>
<script>
<?php if (empty(FSC::$app['config']['enableSmallImage']) || FSC::$app['config']['enableSmallImage'] == 'false') {
<?php if (empty(FSC::$app['config']['enableSmallImage']) || FSC::$app['config']['enableSmallImage'] === 'false') {
echo <<<eof
var disableSmallImage = true;
eof;

Loading…
Cancel
Save