diff --git a/class/Files/CreateStructure.php b/class/Files/CreateStructure.php
index 77a7f6bc..587627f6 100644
--- a/class/Files/CreateStructure.php
+++ b/class/Files/CreateStructure.php
@@ -175,7 +175,7 @@ public function isDir($dname)
*/
protected function makeDir($dir)
{
- $this->isDir(\mb_strtolower(\trim($dir)));
+ $this->isDir(\trim($dir));
}
/**
diff --git a/class/Modules.php b/class/Modules.php
index 61496153..d7c91f8f 100644
--- a/class/Modules.php
+++ b/class/Modules.php
@@ -253,7 +253,7 @@ public function getFormModules($action = false)
$uploadDirectory = 'uploads/' . $GLOBALS['xoopsModule']->dirname() . '/images/modules';
$imgtray = new \XoopsFormElementTray(_AM_MODULEBUILDER_MODULE_IMAGE, '
');
- $imgpath = \sprintf(_AM_MODULEBUILDER_FORMIMAGE_PATH, './' . \mb_strtolower($uploadDirectory) . '/');
+ $imgpath = \sprintf(_AM_MODULEBUILDER_FORMIMAGE_PATH, './' . $uploadDirectory . '/');
$imageselect = new \XoopsFormSelect($imgpath, 'mod_image', $modImage);
$modImageArray = \XoopsLists::getImgListAsArray(TDMC_UPLOAD_IMGMOD_PATH);
foreach ($modImageArray as $image) {
diff --git a/class/Settings.php b/class/Settings.php
index 75b41536..2f522456 100644
--- a/class/Settings.php
+++ b/class/Settings.php
@@ -186,7 +186,7 @@ public function getFormSettings($action = false)
$uploadDirectory = 'uploads/' . $GLOBALS['xoopsModule']->dirname() . '/images/modules';
$imgtray = new \XoopsFormElementTray(_AM_MODULEBUILDER_SETTING_IMAGE, '
');
- $imgpath = \sprintf(_AM_MODULEBUILDER_FORMIMAGE_PATH, './' . \mb_strtolower($uploadDirectory) . '/');
+ $imgpath = \sprintf(_AM_MODULEBUILDER_FORMIMAGE_PATH, './' . $uploadDirectory . '/');
$imageSelect = new \XoopsFormSelect($imgpath, 'set_image', $modImage);
$modImage_array = \XoopsLists::getImgListAsArray(TDMC_UPLOAD_IMGMOD_PATH);
foreach ($modImage_array as $image) {