Skip to content

armgit / Vvveb

Public Imported from GitHub
0

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

Set theme path if theme value is provided

givanzf8eb379ee7a0
diff --git a/system/core/view.php b/system/core/view.php
index 076b33a..2029c1a 100644
--- a/system/core/view.php
+++ b/system/core/view.php
@@ -159,6 +159,7 @@ class View {
}
} else {
$theme = \Vvveb\filter('/[a-z0-9_-]*/', $theme, 30);
+ $themePath = DIR_ROOT . join(DS, ['public', 'themes']) . DS . $this->theme . DS;
$this->theme = $theme;
}