Skip to content

armgit / Vvveb

Public Imported from GitHub
0

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

Incread theme name length for longher theme slugs

givanz55602a0be41d
diff --git a/system/core/view.php b/system/core/view.php
index 30b5b88..327029d 100644
--- a/system/core/view.php
+++ b/system/core/view.php
@@ -137,7 +137,7 @@ class View {
$this->theme = config(APP . '.theme', 'default');
}
} else {
- $theme = \Vvveb\filter('/[a-z0-9-]*/', $theme, 15);
+ $theme = \Vvveb\filter('/[a-z0-9-]*/', $theme, 30);
$this->theme = $theme;
}
$this->htmlPath = DIR_THEME . $this->theme . DS;