Commit 6addba1 1 parent c812656 commit 6addba1 Copy full SHA for 6addba1
File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 2
2
mb_internal_encoding ('UTF-8 ' );
3
3
mb_http_output ('UTF-8 ' );
4
4
mb_http_input ('UTF-8 ' );
5
- mb_regex_encoding ('UTF-8 ' );
5
+ mb_regex_encoding ('UTF-8 ' );
6
+ /**
7
+ * Set memory limit to 2GB
8
+ */
9
+ ini_set ('memory_limit ' , '2048M ' );
6
10
/**
7
11
* See http://php.net/manual/en/timezones.php for supported time zones
8
12
*/
12
16
*/
13
17
define ('ROOT_DIR ' ,__DIR__ );
14
18
15
- //fallback for older php versions that does not
16
- //support the constant PHP_INT_MIN
19
+ /**
20
+ * Fallback for older php versions that does not
21
+ * support the constant PHP_INT_MIN
22
+ */
17
23
if (!defined ('PHP_INT_MIN ' )){
18
24
define ('PHP_INT_MIN ' , ~PHP_INT_MAX );
19
25
}
22
28
* A folder used to hold system resources (such as images).
23
29
*/
24
30
define ('RES_FOLDER ' ,'res ' );
31
+ /**
32
+ * Load Auto-loader. It simply a file that loads classes as needed.
33
+ */
25
34
require_once ROOT_DIR .'/entity/AutoLoader.php ' ;
26
35
Util::displayErrors ();
27
36
You can’t perform that action at this time.
0 commit comments