@@ -1,35 +1,35 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @package CleverStyle CMS |
|
4 | - * @author Nazar Mokrynskyi <[email protected]> |
|
5 | - * @copyright Copyright (c) 2011-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) 2011-2016, Nazar Mokrynskyi |
|
6 | + * @license MIT License, see license.txt |
|
7 | + */ |
|
8 | 8 | /** |
9 | - * Requirements: |
|
10 | - * * Apache2 |
|
11 | - * Apache2 modules MUST be enabled: |
|
12 | - * * rewrite |
|
13 | - * * headers |
|
14 | - * Optional Apache2 modules: |
|
15 | - * * expires |
|
16 | - * * or Nginx |
|
17 | - * * PHP 5.6+ |
|
18 | - * PHP libraries MUST be present: |
|
19 | - * * cURL |
|
20 | - * Optional PHP libraries: |
|
21 | - * * APCu, Memcached |
|
22 | - * * or HHVM 3.3.2+ LTS or HHVM 3.4.1+ |
|
23 | - * * MySQL 5.6+ |
|
24 | - * * or MariaDB 10.0.5+ |
|
25 | - */ |
|
9 | + * Requirements: |
|
10 | + * * Apache2 |
|
11 | + * Apache2 modules MUST be enabled: |
|
12 | + * * rewrite |
|
13 | + * * headers |
|
14 | + * Optional Apache2 modules: |
|
15 | + * * expires |
|
16 | + * * or Nginx |
|
17 | + * * PHP 5.6+ |
|
18 | + * PHP libraries MUST be present: |
|
19 | + * * cURL |
|
20 | + * Optional PHP libraries: |
|
21 | + * * APCu, Memcached |
|
22 | + * * or HHVM 3.3.2+ LTS or HHVM 3.4.1+ |
|
23 | + * * MySQL 5.6+ |
|
24 | + * * or MariaDB 10.0.5+ |
|
25 | + */ |
|
26 | 26 | if (version_compare(PHP_VERSION, '5.6', '<')) { |
27 | 27 | echo 'CleverStyle CMS require PHP 5.6 or higher'; |
28 | 28 | return; |
29 | 29 | } |
30 | 30 | /** |
31 | - * Time of start of execution, is used as current time |
|
32 | - */ |
|
31 | + * Time of start of execution, is used as current time |
|
32 | + */ |
|
33 | 33 | define('MICROTIME', microtime(true)); //Time in seconds (float) |
34 | 34 | define('TIME', floor(MICROTIME)); //Time in seconds (integer) |
35 | 35 | define('DIR', __DIR__); //Root directory |