Post by joseph213 » Wed Nov 08, 2017 12:28 pm

Hello,

Im using Opencart 2.3.0.2, In that File Manager cum Image Manager I cant Search the folders(Directories). It shows only Case Sensitive Results for Folder Search. Is there any way to fix it?

Newbie

Posts

Joined
Fri Jul 21, 2017 7:29 pm

Post by anung » Sat Nov 18, 2017 1:56 pm

joseph213 wrote:
Wed Nov 08, 2017 12:28 pm
Hello,

Im using Opencart 2.3.0.2, In that File Manager cum Image Manager I cant Search the folders(Directories). It shows only Case Sensitive Results for Folder Search. Is there any way to fix it?
You can try this one
Open filemanager.php in admin/controller/common/
put this code

Code: Select all

$filter_name = preg_replace_callback('/([a-z])/i',function($matches){return "[".strtolower($matches[1]).strtoupper($matches[1])."]";},$filter_name);
after this code

Code: Select all

$filter_name = rtrim(str_replace('*', '', $this->request->get['filter_name']), '/');

Highly recommended!
OpencartNews - OpenCart News, Tutorial and Tips
Opencart Blog Manager
Opencart 2.x Blog Manager 2
Opencart Customer Summary
Default2 - Free Opencart 2.x Themes


User avatar
Active Member

Posts

Joined
Fri Mar 30, 2012 10:32 am
Location - Indonesia
Who is online

Users browsing this forum: No registered users and 10 guests