How to remove Security Notification of renaming "admin" folder name in opencart version 4.x

 If you are facing issue like 

"Please type in a new admin directory name in the field below." 

as a  "Important Security Notification! in opencart admin panel like this given below

screenshot. 


Solutions: 

       1. Go to this File:- admin => controller => common => 

         2. Edit this file "security.php"

         3. Find this line return $this->load->view('common/security', $data); 

              probabally you can find this line in Line No: 50 

         4. Replace this line with return ' ';


        Now everything is fine and working great.  
        Happy Coding !!! 😅


Popular posts from this blog

How to open cPanel using WHM access.

Cant use dump() function in twig files or how to enable debug in opencart twig or print_r alternate use dump() in opencart 3.0