![]() |
base_url question? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: base_url question? (/showthread.php?tid=34658) |
base_url question? - El Forum - 10-06-2010 [eluser]anna16[/eluser] Hello guys I'm studying pagination. I don't know how to put my __construct() function as my base_url This is what i did below, Code: $config['base_url'] = 'http://www.mysite.org/ci/userauth.php/site/__construct/'; Please correct me if i am wrong. Sorry i have no index, my index method is the __construct() function, Code: class Site extends Controller Thanks in advanced. base_url question? - El Forum - 10-06-2010 [eluser]anna16[/eluser] I'm also having problem every time i use this code below on my view page, Code: echo $this->pagination->create_links(); the error message is, Code: Fatal error: Call to a member function create_links() on a non-object in /home/herpescu/public_html/ci/application/userauth/views/meter.php on line 197 Please note I'm also using the same controller codes above. base_url question? - El Forum - 10-06-2010 [eluser]anna16[/eluser] problem solved. no need to reply. |