Welcome Guest, Not a member yet? Register   Sign In
Controller directory with subfolders
#4

(This post was last modified: 02-12-2016, 10:57 AM by condor.)

I do like this:

File .htaccess in the application root:

Code:
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]


application\config\config.php

Code:
$config['index_page'] = ' ';

application\config\routes.php

Code:
$route['default_controller'] = 'index';

And create folder.

application\controller\panel\

In the catalog necessary controllers.
Reply


Messages In This Thread
Controller directory with subfolders - by kaaai3 - 02-12-2016, 08:29 AM
RE: Controller directory with subfolders - by condor - 02-12-2016, 10:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB