Open in github.dev
Open in a new github.dev tab
Open in codespace
/
Copy pathConstants.php
144 lines (124 loc) · 5.3 KB
/
Constants.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<?php
/*
| --------------------------------------------------------------------
| App Namespace
| --------------------------------------------------------------------
|
| This defines the default Namespace that is used throughout
| CodeIgniter to refer to the Application directory. Change
| this constant to change the namespace that all application
| classes should use.
|
| NOTE: changing this will require manually modifying the
| existing namespaces of App\* namespaced-classes.
*/
defined('APP_NAMESPACE') || define('APP_NAMESPACE', 'App');
/*
| --------------------------------------------------------------------------
| Composer Path
| --------------------------------------------------------------------------
|
| The path that Composer's autoload file is expected to live. By default,
| the vendor folder is in the Root directory, but you can customize that here.
*/
defined('COMPOSER_PATH') || define('COMPOSER_PATH', ROOTPATH . 'vendor/autoload.php');
/*
|--------------------------------------------------------------------------
| Timing Constants
|--------------------------------------------------------------------------
|
| Provide simple ways to work with the myriad of PHP functions that
| require information to be in seconds.
*/
defined('SECOND') || define('SECOND', 1);
defined('MINUTE') || define('MINUTE', 60);
defined('HOUR') || define('HOUR', 3600);
defined('DAY') || define('DAY', 86400);
defined('WEEK') || define('WEEK', 604800);
defined('MONTH') || define('MONTH', 2_592_000);
defined('YEAR') || define('YEAR', 31_536_000);
defined('DECADE') || define('DECADE', 315_360_000);
/*
| --------------------------------------------------------------------------
| Exit Status Codes
| --------------------------------------------------------------------------
|
| Used to indicate the conditions under which the script is exit()ing.
| While there is no universal standard for error codes, there are some
| broad conventions. Three such conventions are mentioned below, for
| those who wish to make use of them. The CodeIgniter defaults were
| chosen for the least overlap with these conventions, while still
| leaving room for others to be defined in future versions and user
| applications.
|
| The three main conventions used for determining exit status codes
| are as follows:
|
| Standard C/C++ Library (stdlibc):
| http://www.gnu.org/software/libc/manual/html_node/Exit-Status.html
| (This link also contains other GNU-specific conventions)
| BSD sysexits.h:
| http://www.gsp.com/cgi-bin/man.cgi?section=3&topic=sysexits
| Bash scripting:
| http://tldp.org/LDP/abs/html/exitcodes.html
|
*/
defined('EXIT_SUCCESS') || define('EXIT_SUCCESS', 0); // no errors
defined('EXIT_ERROR') || define('EXIT_ERROR', 1); // generic error
defined('EXIT_CONFIG') || define('EXIT_CONFIG', 3); // configuration error
defined('EXIT_UNKNOWN_FILE') || define('EXIT_UNKNOWN_FILE', 4); // file not found
defined('EXIT_UNKNOWN_CLASS') || define('EXIT_UNKNOWN_CLASS', 5); // unknown class
defined('EXIT_UNKNOWN_METHOD') || define('EXIT_UNKNOWN_METHOD', 6); // unknown class member
defined('EXIT_USER_INPUT') || define('EXIT_USER_INPUT', 7); // invalid user input
defined('EXIT_DATABASE') || define('EXIT_DATABASE', 8); // database error
defined('EXIT__AUTO_MIN') || define('EXIT__AUTO_MIN', 9); // lowest automatically-assigned error code
defined('EXIT__AUTO_MAX') || define('EXIT__AUTO_MAX', 125); // highest automatically-assigned error code
/**
* @deprecated Use \CodeIgniter\Events\Events::PRIORITY_LOW instead.
*/
define('EVENT_PRIORITY_LOW', 200);
/**
* @deprecated Use \CodeIgniter\Events\Events::PRIORITY_NORMAL instead.
*/
define('EVENT_PRIORITY_NORMAL', 100);
/**
* @deprecated Use \CodeIgniter\Events\Events::PRIORITY_HIGH instead.
*/
define('EVENT_PRIORITY_HIGH', 10);
define('GOOGLE_API_KEY_MAPS', 'AIzaSyCkVZkPvnHIaTFdulk69Z6hlDUZRZQh244');
/* Email Alerts Variables */
define('MAX_UNIQUE_ALERT_EMAILS', '3');
define('MAX_UNIQUE_ALERT_NUMBERS', '2');
/* Authorize.net Gateway Variables */
define('AUTH_API_LOGIN', '3kLpK7D6j');
define('AUTH_API_KEY', '35PYCq276Qjd55ne');
define('AUTH_NET_TEST', true);
// test details - these probably won't work, but I left them here just in case if I need them
// define('AUTH_API_LOGIN','3YY8nYvwv2kw');
// define('AUTH_API_KEY','2Lm285N83umFD6kp');
// define('AUTH_NET_TEST',true);
/* Memcached Settings */
define('MEMCACHE_ENABLE', false);
define('MEMCACHE_DURATION', 21600);
/* SMS Settings */
define('FROM_SMS_NUMBER', '561-767-8119');
define("TWILIO_SID", 'ACe6a86c43c4971c1abfe52b3a72c57f83');
define('TWILIO_TOKEN', '5b4cfe1e87d8f74761551564614d3f93');
/* Free Member Limitations */
define('FREE_MEMBER_NOTES', 10);
define('FREE_MEMBER_DOCS', 10);
define('FREE_MEMBER_PICS', 10);
define('NA_REPLACEMENT', '<span style="color: #FF0000;">-</span>');
/**live details */
define('RG_MERCHANT_ID', '137113736');
define('RG_PASSWORD', 'Vj5vU9gYNy7DgMDY');
define('RG_ACCOUNT', '4');
define('RG_TEST', false);
define("SITE_ID",1);
/**test details */
define('RG_MERCHANT_IDt', '1371137368');
define('RG_PASSWORDt', 'Vj5vU9gYNy7DgMDY');
define('RG_ACCOUNTt', '4');
define('RG_TESTt', true);
define("SITE_IDt",13);
define('DOC_ROOT', __DIR__);