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. enter image description here

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

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -