diff --git a/themes/beauty/views/layout/main.php b/themes/beauty/views/layout/main.php index 61ce7fb..c02373a 100644 --- a/themes/beauty/views/layout/main.php +++ b/themes/beauty/views/layout/main.php @@ -100,6 +100,7 @@ require_once __DIR__ . '/../../../../plugins/Html.php'; + + diff --git a/themes/beauty/views/site/index.php b/themes/beauty/views/site/index.php index 8359504..9e47272 100644 --- a/themes/beauty/views/site/index.php +++ b/themes/beauty/views/site/index.php @@ -6,6 +6,7 @@ $imgExts = !empty(FSC::$app['config']['supportedImageExts']) ? FSC::$app['config $videoExts = !empty(FSC::$app['config']['supportedVideoExts']) ? FSC::$app['config']['supportedVideoExts'] : array('mp4', 'mov', 'm3u8'); $supportedExts = array_merge($imgExts, $videoExts); +$dir_ext_status = !empty($_COOKIE['dir_ext_status']) ? $_COOKIE['dir_ext_status'] : 'opened'; ?>