-
Download as as Zip or Clone this project
-
Import Database
Database in model folder
- Make Changes to settings
Go to 'config' folder and Open 'constants.php' file. Then make changes on following constants
<?php
//Start Session
session_start();
//Create Constants to Store Non Repeating Values
define('SITEURL', 'http://localhost/'); //Update the home URL of the project if you have changed port number or
define('view','http://localhost/view/');//
define('Ppath','http://localhost/public/');//
define('controller','http://localhost/controller/');//
define('LOCALHOST', 'localhost');//Update your port database
define('DB_USERNAME', 'root');// database name
define('DB_PASSWORD', ''); // password
define('DB_NAME', 'restaurant');
$conn = mysqli_connect(LOCALHOST, DB_USERNAME, DB_PASSWORD) or die(mysqli_error()); //Database Connection
$db_select = mysqli_select_db($conn, DB_NAME) or die(mysqli_error()); //SElecting Database
?>
-
Now, Open the project in your browser. It should run perfectly.