Skip to content

Commit 9a1b82d

Browse files
author
Jim
committed
Updated demo controller to load URL helper so that site_url() can be used
1 parent e5a4395 commit 9a1b82d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controllers/example.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ public function __construct()
66
{
77
parent::__construct();
88
$this->load->library('session');
9+
$this->load->helper('url');
910
}
1011

1112
//CALL THIS METHOD FIRST BY GOING TO

0 commit comments

Comments
 (0)