Powerful and easy to use cms to build websites, blogs or ecommerce stores.
HTML backendblogblog-engineblog-platformbloggingcmscontent-managementcontent-management-systemecommerceecommerce-platformno-codepage-builderphpphp-cmsphp7php8self-hostedshopping-cartweb-applicationwebsite-builder
Added default template parameter for setSite method
givanzd50882752eda
diff --git a/system/sites.php b/system/sites.phpindex 1d95a8d..bc45766 100755--- a/system/sites.php+++ b/system/sites.php@@ -108,7 +108,11 @@ class Sites {return 'default';}- public static function setTheme($site, $theme) {+ public static function setTheme($site, $theme, $template = '') {+ if ($template) {+ self :: setSiteData($site, 'template', $template);+ }+return self :: setSiteData($site, 'theme', $theme);}