-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.php
111 lines (75 loc) · 2.9 KB
/
settings.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<?php
/*
package: Centraleffects Framework
Author: Rex Bengil
Website: Centraleffects.com
Company: Centraleffects BPO
-----------------------------------------------------------
W A R N I N G !!!!
-----------------------------------------------------------
Modification of below information will need experienced
person because below contains information that are needed
across the site. Changing below with inappropriate information
will cause the site to not work properly and be messed up.
*/
#This will be the base url of your site like htttp://google.com/
#Do not forget to add trailing slash at the end.
define('BASE_URL','http://rex/demeter/');
#Do not forget to add trailing slash at the end.
define('ABS_PATH',$_SERVER['DOCUMENT_ROOT'].'/demeter/');
#This folder contains system files
define('SYS_FOLDER', ABS_PATH.'system/');
#Class Folder, Do not change. Ask for guidance.
define('CLASS_FOLDER', SYS_FOLDER.'class/');
#public folder, This will contains styles and HTMLs, images,
#and including data that we are going to display
define('PUBLIC_FOLDER', SYS_FOLDER.'public/');
#For CSS/JS/IMG
define('BASE_URL_PUBLIC',BASE_URL.'system/public/');
#Public path for profile pictures
define('PROFILE_IMG',BASE_URL_PUBLIC.'images/profileimage/');
#Set the title or name of the system
define('SYS_NAME','Demeter Time Tracking');
#Set the version of the system
define('SYS_VERSION','1.0');
#Set Password Salt
define('SYS_SALT','ToGodBeTheGlory');
#Global configuration. This will contain the database account information that will be needed across the site.
$GLOBALS['CFG']=array(
'Database' => array(
'host'=>'localhost',
'databasename' =>'demeter',
'username' =>'root',
'password' =>''
),
/* For Sending email */
'mail'=>array(
'gmail_username' => '[email protected]',
'gmail_password' => 'rexrex123',
'from_name' => SYS_NAME,
'from_email' => '[email protected]',
'use_SMTP' => true
),
'paypal' =>array(
'email'=>'[email protected]',
'username'=>'centraleffects-merchant_api1.yahoo.com',
'password'=>'1392365472',
'signature'=>'AiPC9BjkCyDFQXbSkoZcgqH3hpacA36H1m333SPjfAEPpH1vGfLGyhWh',
'submit_url'=>'https://www.sandbox.paypal.com/cgi-bin/webscr',
'commission'=>'0.05', /*This is for percentage deducted when payment is made by the employer */
'masspay_url' =>'https://api-3t.sandbox.paypal.com/nvp'
),
'start_payment_for_company'=>'5.00', /*This is in US dollars*/
'admin'=>array(
'username'=>'admin',
'password'=>'admin'
)
);
#Setting default Timezone to Asia/Manila
date_default_timezone_set("Asia/Manila");
#Error Reporting Level
#More info on: http://php.net/manual/en/errorfunc.configuration.php
$errata = ini_get('error_reporting');
error_reporting($errata ^ E_NOTICE);
#error_reporting(1);
?>