Welcome Guest, Not a member yet? Register   Sign In
Get_instance Does not work in Hosting
#1
Exclamation 
(This post was last modified: 11-01-2017, 09:14 PM by buzz4rd.)

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');
}
Reply


Messages In This Thread
Get_instance Does not work in Hosting - by buzz4rd - 11-01-2017, 08:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB