first init
This commit is contained in:
24
application/config/config.php
Normal file
24
application/config/config.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
include('database.php');
|
||||
$site = 'http://localhost/socmed/';
|
||||
$dirUser = 'asset/user_file/';
|
||||
$notfound = "<h1>Page Not Found</h1>";
|
||||
|
||||
$db_host = 'localhost';
|
||||
$db_user = 'root';
|
||||
$db_pass = '';
|
||||
$db_name = 'rai_socmedcampus';
|
||||
|
||||
define('base_url', $site);
|
||||
|
||||
define('db_host', $db_host);
|
||||
define('db_user', $db_user);
|
||||
define('db_pass', $db_pass);
|
||||
define('db_name', $db_name);
|
||||
|
||||
define('not_found', $notfound);
|
||||
define('user_file', $dirUser);
|
||||
define('view_file', 'application/view/');
|
||||
// The name of THIS file
|
||||
define('SELF', pathinfo(__FILE__, PATHINFO_BASENAME));
|
||||
?>
|
Reference in New Issue
Block a user