-
Notifications
You must be signed in to change notification settings - Fork 3
/
setting.php
executable file
·48 lines (43 loc) · 1.33 KB
/
setting.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/*
|--------------------------------------------------------------------------
| Connect DB PHP MySQL
|--------------------------------------------------------------------------
|
*/
$host = "localhost";
$user = "root";
$pass = "";
$db = "crud_generator";
$connectdb = new PDO("mysql:host=$host;dbname=$db", $user, $pass);
/*
|--------------------------------------------------------------------------
| Project Title Name
|--------------------------------------------------------------------------
|
*/
$title_apl = 'CRUD PHP Generator';
/*
|--------------------------------------------------------------------------
| BASE SITE URL
|--------------------------------------------------------------------------
|
*/
global $baseURL;
$baseURL = "http://localhost/testing/crud-php-generator/";
/*
|--------------------------------------------------------------------------
| Date Default Timezone SET
|--------------------------------------------------------------------------
|
*/
date_default_timezone_set("Asia/Jakarta");
/*
|--------------------------------------------------------------------------
| Error Reporting
|--------------------------------------------------------------------------
|
*/
// ini_set('display_errors', '1');
// ini_set('display_startup_errors', '1');
error_reporting(2);