Skip to content

armgit / Vvveb

Public Imported from GitHub
0

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

Fixed subdir path separator on windows

givanzf3e218b3624d
diff --git a/install/controller/index.php b/install/controller/index.php
index 0e00ea9..38792ab 100755
--- a/install/controller/index.php
+++ b/install/controller/index.php
@@ -439,6 +439,7 @@ class Index extends Base {
if ($subdir) {
$subdir = sanitizeFileName($subdir);
+ $subdir = str_replace(['\\', '/'], '/', $subdir);
$subdir = '/' . trim($subdir, '/ ');
//try to set subdir in env.php and .htaccess