Codeigniter Call Controller From Controller

后端 未结 3 2179
清酒与你
清酒与你 2021-01-05 02:16

After the last two comments, I\'ll dump out my real code and maybe it will help out:

Here is the landing Controller:

 

        
3条回答
  •  旧时难觅i
    2021-01-05 02:35

    In your application/autoload.php set codeigniter to load database class.

    $autoload['libraries'] = array('database', 'otherlibrary', 'otherlibrary2');
    

    It must be all you need to solve your problem.

提交回复
热议问题