Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Set relative path for feed template

givanz2fe5ee6b1b3b
diff --git a/app/controller/feed/index.php b/app/controller/feed/index.php
index 757b665..1352c31 100755
--- a/app/controller/feed/index.php
+++ b/app/controller/feed/index.php
@@ -31,7 +31,7 @@ class Index extends Base {
if ($rss) {
$rss = Str::sanitizeFilename($rss);
- $xml = "/feed/{$rss}.xml";
+ $xml = "feed/{$rss}.xml";
$theme = $this->view->getTheme();
foreach ([$theme, 'default'] as $t) {