codeigniter MY_Controller not found

后端 未结 5 551
误落风尘
误落风尘 2021-01-02 10:58

i’m using the Codeigniter.2.1.3 for a website, so i need to extend the CI_Controller so i can add a method to be executed with all controllers so i did what’s in the user_gu

5条回答
  •  感动是毒
    2021-01-02 11:48

    Make sure the filename is perfectly cased. Linux server is case-sensitive. So if the class name is My_Controller then the name of the file should be My_Controller.php

提交回复
热议问题