Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14343

Get_instance Does not work in Hosting

$
0
0
Hi, I'm using CI 3.1.0. I have made a Library. I used get_instance method in Library. It's Working fine in my local pc (xampp) But I'm getting blank page in My Hosting server. I can't figure it out.   Confused  Can anyone Help me, please?

Code:
   function __construct()
   {

       $this->CI =& get_instance();

       $this->CI->load->model('Soft_model');
}

Viewing all articles
Browse latest Browse all 14343

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>