Usnig th URI class in library - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Usnig th URI class in library (/showthread.php?tid=33741) |
Usnig th URI class in library - El Forum - 09-07-2010 [eluser]Deathmanlp[/eluser] When I try to use the URI class from a library I get a undefined property error Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Quote:A PHP Error was encountered Usnig th URI class in library - El Forum - 09-07-2010 [eluser]davidbehler[/eluser] Code: $current_page=$this->CI->uri->segment(3); // line 35 Usnig th URI class in library - El Forum - 09-07-2010 [eluser]Deathmanlp[/eluser] Thanks waldmeister |