SOCMED/application/config/config.php
2020-01-02 21:48:25 +07:00

24 lines
581 B
PHP

<?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));
?>