File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ public function isDir($dname)
175175 */
176176 protected function makeDir ($ dir )
177177 {
178- $ this ->isDir (\mb_strtolower ( \ trim ($ dir) ));
178+ $ this ->isDir (\trim ($ dir ));
179179 }
180180
181181 /**
Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ public function getFormModules($action = false)
253253
254254 $ uploadDirectory = 'uploads/ ' . $ GLOBALS ['xoopsModule ' ]->dirname () . '/images/modules ' ;
255255 $ imgtray = new \XoopsFormElementTray (_AM_MODULEBUILDER_MODULE_IMAGE , '<br> ' );
256- $ imgpath = \sprintf (_AM_MODULEBUILDER_FORMIMAGE_PATH , './ ' . \mb_strtolower ( $ uploadDirectory) . '/ ' );
256+ $ imgpath = \sprintf (_AM_MODULEBUILDER_FORMIMAGE_PATH , './ ' . $ uploadDirectory . '/ ' );
257257 $ imageselect = new \XoopsFormSelect ($ imgpath , 'mod_image ' , $ modImage );
258258 $ modImageArray = \XoopsLists::getImgListAsArray (TDMC_UPLOAD_IMGMOD_PATH );
259259 foreach ($ modImageArray as $ image ) {
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ public function getFormSettings($action = false)
186186
187187 $ uploadDirectory = 'uploads/ ' . $ GLOBALS ['xoopsModule ' ]->dirname () . '/images/modules ' ;
188188 $ imgtray = new \XoopsFormElementTray (_AM_MODULEBUILDER_SETTING_IMAGE , '<br> ' );
189- $ imgpath = \sprintf (_AM_MODULEBUILDER_FORMIMAGE_PATH , './ ' . \mb_strtolower ( $ uploadDirectory) . '/ ' );
189+ $ imgpath = \sprintf (_AM_MODULEBUILDER_FORMIMAGE_PATH , './ ' . $ uploadDirectory . '/ ' );
190190 $ imageSelect = new \XoopsFormSelect ($ imgpath , 'set_image ' , $ modImage );
191191 $ modImage_array = \XoopsLists::getImgListAsArray (TDMC_UPLOAD_IMGMOD_PATH );
192192 foreach ($ modImage_array as $ image ) {
You can’t perform that action at this time.
0 commit comments