codeigniter: extending common controller

后端 未结 3 2061
长情又很酷
长情又很酷 2021-01-24 21:31

I\'ve read all the post I found regarding this issue but nothing works. I\'m using Codeigniter 2.02 in a LAMP with Apache2.2 and PHP5.3.2

I\'m trying to create a common

3条回答
  •  青春惊慌失措
    2021-01-24 21:39

    Also note it doesn't load a multitude of files. It simply looks for 1 controller called MY_Controller.php.

    If you are thinking it will load MY_Test_Controller.php and MY_Web_Controller.php, it won't.

    If you can include multiple controllers in that one file, or include other files from that file.

    You could build around this of course, but a good bit of extra information to know.

提交回复
热议问题