doufei9946 2016-12-29 13:46
浏览 31

在Codeigniter 3.1.2中构造问题

We have recently updated to Codeigniter 3.1.2 and got one issue.

We have call one controller file to anther controller file using below code.

First Controller :


$this->load->library('../controllers/secondcontroller');
$this->secondcontroller->functionName();

Second Controller :


class Secondcontroller extends CI_Controller
{
public function __construct()
{
    parent::__construct();

    $CI =& get_instance();
    $CI->load->helper(array('form','url','file'));

It was working fine in last version but i have checked that now it not working Codeigniter 3.1.2

Could you please help to change correct code based on version.

Thanks in Advance .

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥20 sub地址DHCP问题
    • ¥15 delta降尺度计算的一些细节,有偿
    • ¥15 Arduino红外遥控代码有问题
    • ¥15 数值计算离散正交多项式
    • ¥30 数值计算均差系数编程
    • ¥15 redis-full-check比较 两个集群的数据出错
    • ¥15 Matlab编程问题
    • ¥15 训练的多模态特征融合模型准确度很低怎么办
    • ¥15 kylin启动报错log4j类冲突
    • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大