diff --git a/config/app.php b/config/app.php
index d783633ab..bdec86ccf 100644
--- a/config/app.php
+++ b/config/app.php
@@ -81,7 +81,7 @@ return [
|
*/
- 'locale' => 'en',
+ 'locale' => 'ru',
/*
|--------------------------------------------------------------------------
diff --git a/config/cms.php b/config/cms.php
index afcde7d79..32395167e 100644
--- a/config/cms.php
+++ b/config/cms.php
@@ -80,7 +80,7 @@ return [
|
*/
- 'backendTimezone' => 'UTC',
+ 'backendTimezone' => 'Asia/Ashgabat',
/*
|--------------------------------------------------------------------------
@@ -396,7 +396,7 @@ return [
|
*/
- 'enableCsrfProtection' => env('ENABLE_CSRF', false),
+ 'enableCsrfProtection' => env('ENABLE_CSRF', true),
/*
|--------------------------------------------------------------------------
diff --git a/config/logging.php b/config/logging.php
index 900d48123..041e80a31 100644
--- a/config/logging.php
+++ b/config/logging.php
@@ -13,7 +13,7 @@ return [
|
*/
- 'default' => env('LOG_CHANNEL', 'single'),
+ 'default' => env('LOG_CHANNEL', 'daily'),
/*
|--------------------------------------------------------------------------
diff --git a/config/session.php b/config/session.php
index 2b48b18d4..b0d0d63a4 100644
--- a/config/session.php
+++ b/config/session.php
@@ -109,7 +109,7 @@ return [
|
*/
- 'cookie' => 'october_session',
+ 'cookie' => 'orient_session',
/*
|--------------------------------------------------------------------------
diff --git a/plugins/tps/reklama/Plugin.php b/plugins/tps/reklama/Plugin.php
index 2e0cdc91e..93705eb49 100644
--- a/plugins/tps/reklama/Plugin.php
+++ b/plugins/tps/reklama/Plugin.php
@@ -31,4 +31,20 @@ class Plugin extends PluginBase
]
];
}
+
+ public function registerMarkupTags() {
+ return [
+ 'filters' => [
+ // A global function, i.e str_plural()
+ 'mediator' => [$this, 'absoluteMediaUrl'],
+ ],
+ ];
+ }
+
+ public function absoluteMediaUrl($file) {
+ $original = \Cms\Classes\MediaLibrary::url($file);
+
+ // modify here and return
+ return $original;
+ }
}
diff --git a/plugins/tps/reklama/components/advertisement/carousel.htm b/plugins/tps/reklama/components/advertisement/carousel.htm
index ffe1a7f9e..88311e362 100644
--- a/plugins/tps/reklama/components/advertisement/carousel.htm
+++ b/plugins/tps/reklama/components/advertisement/carousel.htm
@@ -13,7 +13,7 @@
data-request-data = '[{id:{{reklama.id}}},{url:"{{reklama.url}}"}]'
{% endif %}
>
-
+
{% endfor %}