@@ -14,9 +14,9 @@ |
||
14 | 14 | use |
15 | 15 | cs\Core; |
16 | 16 | |
17 | -require DIR.'/core/loader_base.php'; //Inclusion of loader base |
|
17 | +require DIR.'/core/loader_base.php'; //Inclusion of loader base |
|
18 | 18 | @ini_set('error_log', LOGS.'/Http_server.log'); |
19 | -require __DIR__.'/functions.php'; //Inclusion of functions needed for http server |
|
19 | +require __DIR__.'/functions.php'; //Inclusion of functions needed for http server |
|
20 | 20 | require DIR.'/core/functions_global.php'; |
21 | 21 | /** |
22 | 22 | * Including of custom files |
@@ -51,8 +51,7 @@ discard block |
||
51 | 51 | * |
52 | 52 | * @throws ExitException |
53 | 53 | */ |
54 | - function init ($server, $query, $data, $data_stream, $cookie, $files, $request_started) { |
|
55 | - ++static::$request_id; |
|
54 | + function init ($server, $query, $data, $data_stream, $cookie, $files, $request_started) {++static::$request_id; |
|
56 | 55 | $this->init_server($server); |
57 | 56 | $this->init_query($query); |
58 | 57 | $this->init_data_and_files($data, $files, $data_stream); |
@@ -66,8 +65,7 @@ discard block |
||
66 | 65 | * |
67 | 66 | * @throws ExitException |
68 | 67 | */ |
69 | - function init_from_globals () { |
|
70 | - ++static::$request_id; |
|
68 | + function init_from_globals () {++static::$request_id; |
|
71 | 69 | // Hack: we override `$_SERVER` with iterator object, so conversion from iterator to an array is needed |
72 | 70 | $this->init_server(iterator_to_array($_SERVER)); |
73 | 71 | $this->init_query($_GET); |