first init

This commit is contained in:
alazhar
2020-01-02 21:48:25 +07:00
commit d286fda1df
97 changed files with 20403 additions and 0 deletions

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