@@ -1,15 +1,15 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package Http server |
|
| 4 | - * @category modules |
|
| 5 | - * @author Nazar Mokrynskyi <[email protected]> |
|
| 6 | - * @copyright Copyright (c) 2015-2016, Nazar Mokrynskyi |
|
| 7 | - * @license MIT License, see license.txt |
|
| 8 | - */ |
|
| 3 | + * @package Http server |
|
| 4 | + * @category modules |
|
| 5 | + * @author Nazar Mokrynskyi <[email protected]> |
|
| 6 | + * @copyright Copyright (c) 2015-2016, Nazar Mokrynskyi |
|
| 7 | + * @license MIT License, see license.txt |
|
| 8 | + */ |
|
| 9 | 9 | /** |
| 10 | - * This is custom loader that includes basic files and defines constants, |
|
| 11 | - * but do not call any class to leave that all for Http server |
|
| 12 | - */ |
|
| 10 | + * This is custom loader that includes basic files and defines constants, |
|
| 11 | + * but do not call any class to leave that all for Http server |
|
| 12 | + */ |
|
| 13 | 13 | namespace cs\modules\Http_server; |
| 14 | 14 | use |
| 15 | 15 | cs\Core; |
@@ -14,13 +14,13 @@ |
||
| 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 | \cs\Singleton\clean_classes_cache(); |
| 21 | -require __DIR__.'/Request.php'; //Inclusion of Request class, used for http server requests processing |
|
| 22 | -require __DIR__.'/Singleton.php'; //Inclusion of `Singleton` trait, specific for http server |
|
| 23 | -require __DIR__.'/User.php'; //Inclusion of `cs\custom\User` class, which is used instead original `cs\User` for http server |
|
| 21 | +require __DIR__.'/Request.php'; //Inclusion of Request class, used for http server requests processing |
|
| 22 | +require __DIR__.'/Singleton.php'; //Inclusion of `Singleton` trait, specific for http server |
|
| 23 | +require __DIR__.'/User.php'; //Inclusion of `cs\custom\User` class, which is used instead original `cs\User` for http server |
|
| 24 | 24 | /** |
| 25 | 25 | * Including of custom files |
| 26 | 26 | */ |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @package CleverStyle CMS |
|
| 4 | - * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | - * @copyright Copyright (c) 2013-2016, Nazar Mokrynskyi |
|
| 6 | - * @license MIT License, see license.txt |
|
| 7 | - */ |
|
| 3 | + * @package CleverStyle CMS |
|
| 4 | + * @author Nazar Mokrynskyi <[email protected]> |
|
| 5 | + * @copyright Copyright (c) 2013-2016, Nazar Mokrynskyi |
|
| 6 | + * @license MIT License, see license.txt |
|
| 7 | + */ |
|
| 8 | 8 | namespace cs\CRUD; |
| 9 | 9 | use |
| 10 | 10 | cs\Event, |