From 636e34609a487ef86a243ba5c4ec875843d83654 Mon Sep 17 00:00:00 2001 From: merdan Date: Mon, 10 May 2021 17:45:45 +0500 Subject: [PATCH] new theme modern2 reklama slider --- plugins/tps/reklama/Plugin.php | 2 +- themes/modern2/partials/slider.htm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/tps/reklama/Plugin.php b/plugins/tps/reklama/Plugin.php index d8c2c11fe..d69b5a595 100644 --- a/plugins/tps/reklama/Plugin.php +++ b/plugins/tps/reklama/Plugin.php @@ -46,6 +46,6 @@ class Plugin extends PluginBase $original = \System\Classes\MediaLibrary::url($file); // modify here and return - return Config::get('cms.cdn').$original; + return Config::get('app.cdn').$original; } } diff --git a/themes/modern2/partials/slider.htm b/themes/modern2/partials/slider.htm index 04eb85070..314c5c442 100644 --- a/themes/modern2/partials/slider.htm +++ b/themes/modern2/partials/slider.htm @@ -14,7 +14,7 @@ postPage = "post" {% for post in posts.slice(0,3) %}
-