Welcome Guest, Not a member yet? Register   Sign In
Avoiding massive controller: where to put individual files
#2

Firstly, have a nice choice with CI Big Grin

for your massive php file is all stored in same folder (not root folder), so I purpose that you can modify your .htaccess file to ignore rewrite url for that folder. so you can have 2 systems (1 is CodeIgniter and 1 is your old AJAX gateway) in a same time.

This is an sample of .htacess file

RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt|assets|YOUR_FOLDER_PATH_HERE)
RewriteRule ^(.*)$ /index.php/$1 [L]

hope that this is what you need Smile
Follow us at https://twitter.com/LIBRETeamStudio to get a lot of new cool stuff
Reply


Messages In This Thread
RE: Avoiding massive controller: where to put individual files - by libreteam_studio - 12-18-2014, 12:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB