[eluser]Matrices[/eluser]
Hey all,
I just installed code igniter on my server and I came across an error when building out my homepage. It seems that base_url() isn't defined. I've used CI before on other projects and didn't have this problem. Can anyone shed some light on the situation?
Code:
<?
class Blog extends Controller {
function Blog()
{
parent::Controller();
}
function index()
{
base_url();
}
}
?>
creates: "Fatal error: Call to undefined function base_url() in /home/weirdmac/public_html/system/application/controllers/blog.php on line 12"