Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function index(){
- $this->load->view('home');
- }
- RewriteEngine on
- RewriteCond $1 !^(index\.php|resources|robots\.txt)
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule ^(.*)$ index.php/$1 [L,QSA]
- <?php
- class Some_controller_name extends CI_Controller {
- public function index(){
- $this->load->view('home');
- }
- }
- application
- application > views > home.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement