1 | <?php |
||
11 | class SystemChecker { |
||
12 | |||
13 | /** |
||
14 | * Run all system checks prior to installation |
||
15 | * @throws \Exception |
||
16 | */ |
||
17 | public static function runChecks() { |
||
29 | |||
30 | /** |
||
31 | * @throws \Exception |
||
32 | */ |
||
33 | protected static function checkCacheDirs() { |
||
54 | |||
55 | /** |
||
56 | * @throws \Exception |
||
57 | */ |
||
58 | protected static function checkCustomDirectory() { |
||
63 | |||
64 | /** |
||
65 | * @throws \Exception |
||
66 | */ |
||
67 | protected static function checkConfigOverrideFile() { |
||
77 | |||
78 | /** |
||
79 | * @throws \Exception |
||
80 | */ |
||
81 | protected static function checkConfigFile() { |
||
88 | |||
89 | |||
90 | /** |
||
91 | * @throws \Exception |
||
92 | */ |
||
93 | protected static function checkZipSupport() { |
||
98 | |||
99 | /** |
||
100 | * @throws \Exception |
||
101 | */ |
||
102 | protected static function checkMbstrings() { |
||
107 | |||
108 | /** |
||
109 | * @throws \Exception |
||
110 | */ |
||
111 | protected static function checkXmlParsing() { |
||
116 | |||
117 | /** |
||
118 | * @throws \Exception |
||
119 | */ |
||
120 | protected static function checkDatabaseConnection() { |
||
126 | |||
127 | /** |
||
128 | * @throws \Exception |
||
129 | */ |
||
130 | protected static function checkPhpBackwardCompatibilityVersion() { |
||
135 | |||
136 | /** |
||
137 | * @throws \Exception |
||
138 | */ |
||
139 | protected static function checkPhpVersion() { |
||
145 | } |