php - Running CodeIgniter Project -
i have whole web site project based on codeigniter framework. problem don't know how run project on local mamp server. have set mamp , run latest version of codeigniter.
but how can run whole project using codeigniter found in localhost folder. first experience cms framework.
open application/config folder
first go config.php file , point base url correct location
$config['base_url'] = '';
than goes database.php , provide correct database parameters
$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'user';
$db['default']['password'] = 'password';
$db['default']['database'] = 'dbname';thats basic changes u have do....
now if want redirect specific controller default go routes.php file in config directory , change vairable $route['default_controller'] = "yourcontrollername"
Comments
Post a Comment