@@ -4,42 +4,42 @@ |
||
4 | 4 | |
5 | 5 | # Captcha generate exception |
6 | 6 | |
7 | - class Captcha extends Exception { |
|
7 | + class Captcha extends Exception { |
|
8 | 8 | |
9 | 9 | protected $message = 'Error generating captcha'; |
10 | 10 | } |
11 | 11 | |
12 | 12 | # Sitemap generate exception |
13 | 13 | |
14 | - class Sitemap extends Exception { |
|
14 | + class Sitemap extends Exception { |
|
15 | 15 | |
16 | 16 | protected $message = 'Error generating sitemap'; |
17 | 17 | } |
18 | 18 | |
19 | 19 | # Language not found exception |
20 | 20 | |
21 | - class Language extends Exception { |
|
21 | + class Language extends Exception { |
|
22 | 22 | |
23 | 23 | protected $message = 'Languages not found'; |
24 | 24 | } |
25 | 25 | |
26 | 26 | # Template not found exception |
27 | 27 | |
28 | - class Template extends Exception { |
|
28 | + class Template extends Exception { |
|
29 | 29 | |
30 | 30 | protected $message = 'Templates not found'; |
31 | 31 | } |
32 | 32 | |
33 | 33 | # View not initialized exception |
34 | 34 | |
35 | - class View extends Exception { |
|
35 | + class View extends Exception { |
|
36 | 36 | |
37 | 37 | protected $message = 'View is not initialized'; |
38 | 38 | } |
39 | 39 | |
40 | 40 | # View file not found exception |
41 | 41 | |
42 | - class ViewFile extends Exception { |
|
42 | + class ViewFile extends Exception { |
|
43 | 43 | |
44 | 44 | protected $message = 'View file \'$value$\' not found'; |
45 | 45 | } |
@@ -65,9 +65,9 @@ |
||
65 | 65 | 'DASHBOARD_GROUP_DATABASE' => 'Database', |
66 | 66 | |
67 | 67 | 'DASHBOARD_MESSAGE_INSTALL_FILE' => 'Installation file <a href="$install_path$/install.php" target="_blank">install.php</a> ' . |
68 | - 'still exists in the root of your site. It\'s necessary to remove it.', |
|
68 | + 'still exists in the root of your site. It\'s necessary to remove it.', |
|
69 | 69 | 'DASHBOARD_MESSAGE_SETTINGS_FILE' => 'It seems you have not yet edited site settings. ' . |
70 | - 'Go to <a href="$install_path$/admin/system/settings">settings page</a> to provide actual data.', |
|
70 | + 'Go to <a href="$install_path$/admin/system/settings">settings page</a> to provide actual data.', |
|
71 | 71 | |
72 | 72 | # Pages |
73 | 73 |
@@ -64,9 +64,9 @@ |
||
64 | 64 | 'DASHBOARD_GROUP_GENERAL' => 'General', |
65 | 65 | 'DASHBOARD_GROUP_DATABASE' => 'Database', |
66 | 66 | |
67 | - 'DASHBOARD_MESSAGE_INSTALL_FILE' => 'Installation file <a href="$install_path$/install.php" target="_blank">install.php</a> ' . |
|
67 | + 'DASHBOARD_MESSAGE_INSTALL_FILE' => 'Installation file <a href="$install_path$/install.php" target="_blank">install.php</a> '. |
|
68 | 68 | 'still exists in the root of your site. It\'s necessary to remove it.', |
69 | - 'DASHBOARD_MESSAGE_SETTINGS_FILE' => 'It seems you have not yet edited site settings. ' . |
|
69 | + 'DASHBOARD_MESSAGE_SETTINGS_FILE' => 'It seems you have not yet edited site settings. '. |
|
70 | 70 | 'Go to <a href="$install_path$/admin/system/settings">settings page</a> to provide actual data.', |
71 | 71 | |
72 | 72 | # Pages |
@@ -2,24 +2,24 @@ |
||
2 | 2 | |
3 | 3 | # Define constants |
4 | 4 | |
5 | -define('DIR_SYSTEM', (dirname(__FILE__) . '/')); |
|
5 | +define('DIR_SYSTEM', (dirname(__FILE__).'/')); |
|
6 | 6 | |
7 | -define('DIR_SYSTEM_CLASSES', (DIR_SYSTEM . 'Classes/')); |
|
8 | -define('DIR_SYSTEM_DATA', (DIR_SYSTEM . 'Data/')); |
|
9 | -define('DIR_SYSTEM_INCLUDES', (DIR_SYSTEM . 'Includes/')); |
|
10 | -define('DIR_SYSTEM_LANGUAGES', (DIR_SYSTEM . 'Languages/')); |
|
11 | -define('DIR_SYSTEM_TEMPLATES', (DIR_SYSTEM . 'Templates/')); |
|
7 | +define('DIR_SYSTEM_CLASSES', (DIR_SYSTEM.'Classes/')); |
|
8 | +define('DIR_SYSTEM_DATA', (DIR_SYSTEM.'Data/')); |
|
9 | +define('DIR_SYSTEM_INCLUDES', (DIR_SYSTEM.'Includes/')); |
|
10 | +define('DIR_SYSTEM_LANGUAGES', (DIR_SYSTEM.'Languages/')); |
|
11 | +define('DIR_SYSTEM_TEMPLATES', (DIR_SYSTEM.'Templates/')); |
|
12 | 12 | |
13 | 13 | # Require classes |
14 | 14 | |
15 | -require_once (DIR_SYSTEM . 'Exception.php'); |
|
15 | +require_once (DIR_SYSTEM.'Exception.php'); |
|
16 | 16 | |
17 | 17 | # Require configuration |
18 | 18 | |
19 | -require_once (DIR_SYSTEM_INCLUDES . 'Config.php'); |
|
20 | -require_once (DIR_SYSTEM_INCLUDES . 'Constants.php'); |
|
21 | -require_once (DIR_SYSTEM_INCLUDES . 'Regex.php'); |
|
22 | -require_once (DIR_SYSTEM_INCLUDES . 'Tables.php'); |
|
19 | +require_once (DIR_SYSTEM_INCLUDES.'Config.php'); |
|
20 | +require_once (DIR_SYSTEM_INCLUDES.'Constants.php'); |
|
21 | +require_once (DIR_SYSTEM_INCLUDES.'Regex.php'); |
|
22 | +require_once (DIR_SYSTEM_INCLUDES.'Tables.php'); |
|
23 | 23 | |
24 | 24 | # Process environment variables |
25 | 25 |