diff options
author | Nicolas Lœuillet <nicolas@loeuillet.org> | 2014-04-03 14:42:03 +0200 |
---|---|---|
committer | Nicolas Lœuillet <nicolas@loeuillet.org> | 2014-04-03 14:42:03 +0200 |
commit | 0d67b00d5d3b7ce1b76b639dcc65c415a5f13439 (patch) | |
tree | 7c4d113bb1c3d90ef53e08138a2850576395780f /wallabag_compatibility_test.php | |
parent | 99679d06884120c57f43b44e55e03595f1f87bed (diff) | |
parent | 7d2f1aa2793595aa6cdc58a58260184234cfa809 (diff) | |
download | wallabag-0d67b00d5d3b7ce1b76b639dcc65c415a5f13439.tar.gz wallabag-0d67b00d5d3b7ce1b76b639dcc65c415a5f13439.tar.zst wallabag-0d67b00d5d3b7ce1b76b639dcc65c415a5f13439.zip |
wallabag 1.6.0
Diffstat (limited to 'wallabag_compatibility_test.php')
-rw-r--r-- | wallabag_compatibility_test.php | 154 |
1 files changed, 97 insertions, 57 deletions
diff --git a/wallabag_compatibility_test.php b/wallabag_compatibility_test.php index 26dce018..7a52767c 100644 --- a/wallabag_compatibility_test.php +++ b/wallabag_compatibility_test.php | |||
@@ -1,5 +1,5 @@ | |||
1 | <?php | 1 | <?php |
2 | $app_name = 'wallabag 1'; | 2 | $app_name = 'wallabag'; |
3 | 3 | ||
4 | $php_ok = (function_exists('version_compare') && version_compare(phpversion(), '5.3.3', '>=')); | 4 | $php_ok = (function_exists('version_compare') && version_compare(phpversion(), '5.3.3', '>=')); |
5 | $pcre_ok = extension_loaded('pcre'); | 5 | $pcre_ok = extension_loaded('pcre'); |
@@ -11,6 +11,7 @@ $curl_ok = function_exists('curl_exec'); | |||
11 | $parallel_ok = ((extension_loaded('http') && class_exists('HttpRequestPool')) || ($curl_ok && function_exists('curl_multi_init'))); | 11 | $parallel_ok = ((extension_loaded('http') && class_exists('HttpRequestPool')) || ($curl_ok && function_exists('curl_multi_init'))); |
12 | $allow_url_fopen_ok = (bool)ini_get('allow_url_fopen'); | 12 | $allow_url_fopen_ok = (bool)ini_get('allow_url_fopen'); |
13 | $filter_ok = extension_loaded('filter'); | 13 | $filter_ok = extension_loaded('filter'); |
14 | $gettext_ok = function_exists("gettext"); | ||
14 | 15 | ||
15 | if (extension_loaded('xmlreader')) { | 16 | if (extension_loaded('xmlreader')) { |
16 | $xml_ok = true; | 17 | $xml_ok = true; |
@@ -130,8 +131,6 @@ table#chart tr.enabled td { | |||
130 | 131 | ||
131 | table#chart tr.disabled td, | 132 | table#chart tr.disabled td, |
132 | table#chart tr.disabled td a { | 133 | table#chart tr.disabled td a { |
133 | color:#999; | ||
134 | font-style:italic; | ||
135 | } | 134 | } |
136 | 135 | ||
137 | table#chart tr.disabled td a { | 136 | table#chart tr.disabled td a { |
@@ -154,12 +153,31 @@ div.chunk { | |||
154 | background-color:transparent; | 153 | background-color:transparent; |
155 | font-style:italic; | 154 | font-style:italic; |
156 | } | 155 | } |
156 | |||
157 | .good{ | ||
158 | background-color:#52CC5B; | ||
159 | } | ||
160 | .bad{ | ||
161 | background-color:#F74343; | ||
162 | font-style:italic; | ||
163 | font-weight: bold; | ||
164 | } | ||
165 | .pass{ | ||
166 | background-color:#FF9500; | ||
167 | } | ||
168 | |||
157 | </style> | 169 | </style> |
158 | 170 | ||
159 | </head> | 171 | </head> |
160 | 172 | ||
161 | <body> | 173 | <body> |
162 | 174 | <?php | |
175 | $frominstall = false; | ||
176 | if (isset($_GET['from'])){ | ||
177 | if ($_GET['from'] == 'install'){ | ||
178 | $frominstall = true; | ||
179 | }} | ||
180 | ?> | ||
163 | <div id="site"> | 181 | <div id="site"> |
164 | <div id="content"> | 182 | <div id="content"> |
165 | 183 | ||
@@ -177,58 +195,63 @@ div.chunk { | |||
177 | <tr class="<?php echo ($php_ok) ? 'enabled' : 'disabled'; ?>"> | 195 | <tr class="<?php echo ($php_ok) ? 'enabled' : 'disabled'; ?>"> |
178 | <td>PHP</td> | 196 | <td>PHP</td> |
179 | <td>5.3.3 or higher</td> | 197 | <td>5.3.3 or higher</td> |
180 | <td><?php echo phpversion(); ?></td> | 198 | <td class="<?php echo ($php_ok) ? 'good' : 'disabled'; ?>"><?php echo phpversion(); ?></td> |
181 | </tr> | 199 | </tr> |
182 | <tr class="<?php echo ($xml_ok) ? 'enabled, and sane' : 'disabled, or broken'; ?>"> | 200 | <tr class="<?php echo ($xml_ok) ? 'enabled' : 'disabled'; ?>"> |
183 | <td><a href="http://php.net/xml">XML</a></td> | 201 | <td><a href="http://php.net/xml">XML</a></td> |
184 | <td>Enabled</td> | 202 | <td>Enabled</td> |
185 | <td><?php echo ($xml_ok) ? 'Enabled, and sane' : 'Disabled, or broken'; ?></td> | 203 | <?php echo ($xml_ok) ? '<td class="good">Enabled, and sane</span>' : '<td class="bad">Disabled, or broken'; ?></td> |
186 | </tr> | 204 | </tr> |
187 | <tr class="<?php echo ($pcre_ok) ? 'enabled' : 'disabled'; ?>"> | 205 | <tr class="<?php echo ($pcre_ok) ? 'enabled' : 'disabled'; ?>"> |
188 | <td><a href="http://php.net/pcre">PCRE</a></td> | 206 | <td><a href="http://php.net/pcre">PCRE</a></td> |
189 | <td>Enabled</td> | 207 | <td>Enabled</td> |
190 | <td><?php echo ($pcre_ok) ? 'Enabled' : 'Disabled'; ?></td> | 208 | <?php echo ($pcre_ok) ? '<td class="good">Enabled' : '<td class="bad">Disabled'; ?></td> |
191 | </tr> | 209 | </tr> |
192 | <!-- <tr class="<?php echo ($zlib_ok) ? 'enabled' : 'disabled'; ?>"> | 210 | <!-- <tr class="<?php echo ($zlib_ok) ? 'enabled' : 'disabled'; ?>"> |
193 | <td><a href="http://php.net/zlib">Zlib</a></td> | 211 | <td><a href="http://php.net/zlib">Zlib</a></td> |
194 | <td>Enabled</td> | 212 | <td>Enabled</td> |
195 | <td><?php echo ($zlib_ok) ? 'Enabled' : 'Disabled'; ?></td> | 213 | <?php echo ($zlib_ok) ? '<td class="good">Enabled' : '<td class="bad">Disabled'; ?></td> |
196 | </tr> --> | 214 | </tr> --> |
197 | <!-- <tr class="<?php echo ($mbstring_ok) ? 'enabled' : 'disabled'; ?>"> | 215 | <!-- <tr class="<?php echo ($mbstring_ok) ? 'enabled' : 'disabled'; ?>"> |
198 | <td><a href="http://php.net/mbstring">mbstring</a></td> | 216 | <td><a href="http://php.net/mbstring">mbstring</a></td> |
199 | <td>Enabled</td> | 217 | <td>Enabled</td> |
200 | <td><?php echo ($mbstring_ok) ? 'Enabled' : 'Disabled'; ?></td> | 218 | <?php echo ($mbstring_ok) ? '<td class="good">Enabled' : '<td class="bad">Disabled'; ?></td> |
201 | </tr> --> | 219 | </tr> --> |
202 | <!-- <tr class="<?php echo ($iconv_ok) ? 'enabled' : 'disabled'; ?>"> | 220 | <!-- <tr class="<?php echo ($iconv_ok) ? 'enabled' : 'disabled'; ?>"> |
203 | <td><a href="http://php.net/iconv">iconv</a></td> | 221 | <td><a href="http://php.net/iconv">iconv</a></td> |
204 | <td>Enabled</td> | 222 | <td>Enabled</td> |
205 | <td><?php echo ($iconv_ok) ? 'Enabled' : 'Disabled'; ?></td> | 223 | <?php echo ($iconv_ok) ? '<td class="good">Enabled' : '<td class="bad">Disabled'; ?></td> |
206 | </tr> --> | 224 | </tr> --> |
207 | <tr class="<?php echo ($filter_ok) ? 'enabled' : 'disabled'; ?>"> | 225 | <tr class="<?php echo ($filter_ok) ? 'enabled' : 'disabled'; ?>"> |
208 | <td><a href="http://uk.php.net/manual/en/book.filter.php">Data filtering</a></td> | 226 | <td><a href="http://uk.php.net/manual/en/book.filter.php">Data filtering</a></td> |
209 | <td>Enabled</td> | 227 | <td>Enabled</td> |
210 | <td><?php echo ($filter_ok) ? 'Enabled' : 'Disabled'; ?></td> | 228 | <?php echo ($filter_ok) ? '<td class="good">Enabled' : '<td class="pass">Disabled'; ?></td> |
211 | </tr> | 229 | </tr> |
212 | <tr class="<?php echo ($tidy_ok) ? 'enabled' : 'disabled'; ?>"> | 230 | <tr class="<?php echo ($tidy_ok) ? 'enabled' : 'disabled'; ?>"> |
213 | <td><a href="http://php.net/tidy">Tidy</a></td> | 231 | <td><a href="http://php.net/tidy">Tidy</a></td> |
214 | <td>Enabled</td> | 232 | <td>Enabled</td> |
215 | <td><?php echo ($tidy_ok) ? 'Enabled' : 'Disabled'; ?></td> | 233 | <?php echo ($tidy_ok) ? '<td class="good">Enabled' : '<td class="pass">Disabled'; ?></td> |
216 | </tr> | 234 | </tr> |
217 | <tr class="<?php echo ($curl_ok) ? 'enabled' : 'disabled'; ?>"> | 235 | <tr class="<?php echo ($curl_ok) ? 'enabled' : 'disabled'; ?>"> |
218 | <td><a href="http://php.net/curl">cURL</a></td> | 236 | <td><a href="http://php.net/curl">cURL</a></td> |
219 | <td>Enabled</td> | 237 | <td>Enabled</td> |
220 | <td><?php echo (extension_loaded('curl')) ? 'Enabled' : 'Disabled'; ?></td> | 238 | <?php echo (extension_loaded('curl')) ? '<td class="good">Enabled' : '<td class="pass">Disabled'; ?></td> |
221 | </tr> | 239 | </tr> |
222 | <tr class="<?php echo ($parallel_ok) ? 'enabled' : 'disabled'; ?>"> | 240 | <tr class="<?php echo ($parallel_ok) ? 'enabled' : 'disabled'; ?>"> |
223 | <td>Parallel URL fetching</td> | 241 | <td>Parallel URL fetching</td> |
224 | <td>Enabled</td> | 242 | <td>Enabled</td> |
225 | <td><?php echo ($parallel_ok) ? 'Enabled' : 'Disabled'; ?></td> | 243 | <?php echo ($parallel_ok) ? '<td class="good">Enabled' : '<td class="pass">Disabled'; ?></td> |
226 | </tr> | 244 | </tr> |
227 | <tr class="<?php echo ($allow_url_fopen_ok) ? 'enabled' : 'disabled'; ?>"> | 245 | <tr class="<?php echo ($allow_url_fopen_ok) ? 'enabled' : 'disabled'; ?>"> |
228 | <td><a href="http://www.php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen">allow_url_fopen</a></td> | 246 | <td><a href="http://www.php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen">allow_url_fopen</a></td> |
229 | <td>Enabled</td> | 247 | <td>Enabled</td> |
230 | <td><?php echo ($allow_url_fopen_ok) ? 'Enabled' : 'Disabled'; ?></td> | 248 | <?php echo ($allow_url_fopen_ok) ? '<td class="good">Enabled' : '<td class="bad">Disabled'; ?></td> |
231 | </tr> | 249 | </tr> |
250 | <tr class="<?php echo ($gettext_ok) ? 'enabled' : 'disabled'; ?>"> | ||
251 | <td><a href="http://php.net/manual/en/book.gettext.php">gettext</a></td> | ||
252 | <td>Enabled</td> | ||
253 | <?php echo ($gettext_ok) ? '<td class="good">Enabled' : '<td class="bad">Disabled'; ?></td> | ||
254 | </tr> | ||
232 | </tbody> | 255 | </tbody> |
233 | </table> | 256 | </table> |
234 | </div> | 257 | </div> |
@@ -237,7 +260,7 @@ div.chunk { | |||
237 | <h3>What does this mean?</h3> | 260 | <h3>What does this mean?</h3> |
238 | <ol> | 261 | <ol> |
239 | <?php //if ($php_ok && $xml_ok && $pcre_ok && $mbstring_ok && $iconv_ok && $filter_ok && $zlib_ok && $tidy_ok && $curl_ok && $parallel_ok && $allow_url_fopen_ok): ?> | 262 | <?php //if ($php_ok && $xml_ok && $pcre_ok && $mbstring_ok && $iconv_ok && $filter_ok && $zlib_ok && $tidy_ok && $curl_ok && $parallel_ok && $allow_url_fopen_ok): ?> |
240 | <?php if ($php_ok && $xml_ok && $pcre_ok && $filter_ok && $tidy_ok && $curl_ok && $parallel_ok && $allow_url_fopen_ok): ?> | 263 | <?php if ($php_ok && $xml_ok && $pcre_ok && $filter_ok && $tidy_ok && $curl_ok && $parallel_ok && $allow_url_fopen_ok && $gettext_ok): ?> |
241 | <li><em>You have everything you need to run <?php echo $app_name; ?> properly! Congratulations!</em></li> | 264 | <li><em>You have everything you need to run <?php echo $app_name; ?> properly! Congratulations!</em></li> |
242 | <?php else: ?> | 265 | <?php else: ?> |
243 | <?php if ($php_ok): ?> | 266 | <?php if ($php_ok): ?> |
@@ -250,59 +273,66 @@ div.chunk { | |||
250 | <?php if ($allow_url_fopen_ok): ?> | 273 | <?php if ($allow_url_fopen_ok): ?> |
251 | <li><strong>allow_url_fopen:</strong> You have allow_url_fopen enabled. <em>No problems here.</em></li> | 274 | <li><strong>allow_url_fopen:</strong> You have allow_url_fopen enabled. <em>No problems here.</em></li> |
252 | 275 | ||
253 | <?php if ($filter_ok): ?> | 276 | <?php if ($gettext_ok): ?> |
254 | <li><strong>Data filtering:</strong> You have the PHP filter extension enabled. <em>No problems here.</em></li> | 277 | <li><strong>Gettext:</strong> You have <code>gettext</code> enabled. <em>No problems here.</em></li> |
278 | |||
279 | <?php if ($filter_ok): ?> | ||
280 | <li><strong>Data filtering:</strong> You have the PHP filter extension enabled. <em>No problems here.</em></li> | ||
255 | 281 | ||
256 | <?php if ($zlib_ok): ?> | 282 | <?php if ($zlib_ok): ?> |
257 | <li><strong>Zlib:</strong> You have <code>Zlib</code> enabled. This allows SimplePie to support GZIP-encoded feeds. <em>No problems here.</em></li> | 283 | <li><strong>Zlib:</strong> You have <code>Zlib</code> enabled. This allows SimplePie to support GZIP-encoded feeds. <em>No problems here.</em></li> |
258 | <?php else: ?> | 284 | <?php else: ?> |
259 | <li><strong>Zlib:</strong> The <code>Zlib</code> extension is not available. SimplePie will ignore any GZIP-encoding, and instead handle feeds as uncompressed text.</li> | 285 | <li><strong>Zlib:</strong> The <code>Zlib</code> extension is not available. SimplePie will ignore any GZIP-encoding, and instead handle feeds as uncompressed text.</li> |
260 | <?php endif; ?> | 286 | <?php endif; ?> |
287 | |||
288 | <?php if ($mbstring_ok && $iconv_ok): ?> | ||
289 | <li><strong>mbstring and iconv:</strong> You have both <code>mbstring</code> and <code>iconv</code> installed! This will allow <?php echo $app_name; ?> to handle the greatest number of languages. <em>No problems here.</em></li> | ||
290 | <?php elseif ($mbstring_ok): ?> | ||
291 | <li><strong>mbstring:</strong> <code>mbstring</code> is installed, but <code>iconv</code> is not.</li> | ||
292 | <?php elseif ($iconv_ok): ?> | ||
293 | <li><strong>iconv:</strong> <code>iconv</code> is installed, but <code>mbstring</code> is not.</li> | ||
294 | <?php else: ?> | ||
295 | <li><strong>mbstring and iconv:</strong> <em>You do not have either of the extensions installed.</em> This will significantly impair your ability to read non-English feeds, as well as even some English ones.</li> | ||
296 | <?php endif; ?> | ||
297 | |||
298 | <?php if ($tidy_ok): ?> | ||
299 | <li><strong>Tidy:</strong> You have <code>Tidy</code> support installed. <em>No problems here.</em></li> | ||
300 | <?php else: ?> | ||
301 | <li><strong>Tidy:</strong> The <code>Tidy</code> extension is not available. <?php echo $app_name; ?> should still work with most feeds, but you may experience problems with some.</li> | ||
302 | <?php endif; ?> | ||
303 | |||
304 | <?php if ($curl_ok): ?> | ||
305 | <li><strong>cURL:</strong> You have <code>cURL</code> support installed. <em>No problems here.</em></li> | ||
306 | <?php else: ?> | ||
307 | <li><strong>cURL:</strong> The <code>cURL</code> extension is not available. SimplePie will use <code>fsockopen()</code> instead.</li> | ||
308 | <?php endif; ?> | ||
261 | 309 | ||
262 | <?php if ($mbstring_ok && $iconv_ok): ?> | 310 | <?php if ($parallel_ok): ?> |
263 | <li><strong>mbstring and iconv:</strong> You have both <code>mbstring</code> and <code>iconv</code> installed! This will allow <?php echo $app_name; ?> to handle the greatest number of languages. <em>No problems here.</em></li> | 311 | <li><strong>Parallel URL fetching:</strong> You have <code>HttpRequestPool</code> or <code>curl_multi</code> support installed. <em>No problems here.</em></li> |
264 | <?php elseif ($mbstring_ok): ?> | 312 | <?php else: ?> |
265 | <li><strong>mbstring:</strong> <code>mbstring</code> is installed, but <code>iconv</code> is not.</li> | 313 | <li><strong>Parallel URL fetching:</strong> <code>HttpRequestPool</code> or <code>curl_multi</code> support is not available. <?php echo $app_name; ?> will use <code>file_get_contents()</code> instead to fetch URLs sequentially rather than in parallel.</li> |
266 | <?php elseif ($iconv_ok): ?> | 314 | <?php endif; ?> |
267 | <li><strong>iconv:</strong> <code>iconv</code> is installed, but <code>mbstring</code> is not.</li> | ||
268 | <?php else: ?> | ||
269 | <li><strong>mbstring and iconv:</strong> <em>You do not have either of the extensions installed.</em> This will significantly impair your ability to read non-English feeds, as well as even some English ones.</li> | ||
270 | <?php endif; ?> | ||
271 | 315 | ||
272 | <?php if ($tidy_ok): ?> | ||
273 | <li><strong>Tidy:</strong> You have <code>Tidy</code> support installed. <em>No problems here.</em></li> | ||
274 | <?php else: ?> | 316 | <?php else: ?> |
275 | <li><strong>Tidy:</strong> The <code>Tidy</code> extension is not available. <?php echo $app_name; ?> should still work with most feeds, but you may experience problems with some.</li> | 317 | <li><strong>Data filtering:</strong> Your PHP configuration has the filter extension disabled. <strong><?php echo $app_name; ?> will not work here.</strong></li> |
276 | <?php endif; ?> | 318 | <?php endif; ?> |
277 | 319 | ||
278 | <?php if ($curl_ok): ?> | ||
279 | <li><strong>cURL:</strong> You have <code>cURL</code> support installed. <em>No problems here.</em></li> | ||
280 | <?php else: ?> | ||
281 | <li><strong>cURL:</strong> The <code>cURL</code> extension is not available. SimplePie will use <code>fsockopen()</code> instead.</li> | ||
282 | <?php endif; ?> | ||
283 | |||
284 | <?php if ($parallel_ok): ?> | ||
285 | <li><strong>Parallel URL fetching:</strong> You have <code>HttpRequestPool</code> or <code>curl_multi</code> support installed. <em>No problems here.</em></li> | ||
286 | <?php else: ?> | ||
287 | <li><strong>Parallel URL fetching:</strong> <code>HttpRequestPool</code> or <code>curl_multi</code> support is not available. <?php echo $app_name; ?> will use <code>file_get_contents()</code> instead to fetch URLs sequentially rather than in parallel.</li> | ||
288 | <?php endif; ?> | ||
289 | |||
290 | <?php else: ?> | 320 | <?php else: ?> |
291 | <li><strong>Data filtering:</strong> Your PHP configuration has the filter extension disabled. <em><?php echo $app_name; ?> will not work here.</em></li> | 321 | <li><strong>GetText:</strong> The <code>gettext</code> extension is not available. The system we use to display wallabag in various languages is not available. <strong><?php echo $app_name; ?> will not work here.</strong></li> |
292 | <?php endif; ?> | 322 | <?php endif; ?> |
293 | 323 | ||
294 | <?php else: ?> | 324 | <?php else: ?> |
295 | <li><strong>allow_url_fopen:</strong> Your PHP configuration has allow_url_fopen disabled. <em><?php echo $app_name; ?> will not work here.</em></li> | 325 | <li><strong>allow_url_fopen:</strong> Your PHP configuration has allow_url_fopen disabled. <strong><?php echo $app_name; ?> will not work here.</strong></li> |
296 | <?php endif; ?> | 326 | <?php endif; ?> |
297 | 327 | ||
298 | <?php else: ?> | 328 | <?php else: ?> |
299 | <li><strong>PCRE:</strong> Your PHP installation doesn't support Perl-Compatible Regular Expressions. <em><?php echo $app_name; ?> will not work here.</em></li> | 329 | <li><strong>PCRE:</strong> Your PHP installation doesn't support Perl-Compatible Regular Expressions. <strong><?php echo $app_name; ?> will not work here.</strong></li> |
300 | <?php endif; ?> | 330 | <?php endif; ?> |
301 | <?php else: ?> | 331 | <?php else: ?> |
302 | <li><strong>XML:</strong> Your PHP installation doesn't support XML parsing. <em><?php echo $app_name; ?> will not work here.</em></li> | 332 | <li><strong>XML:</strong> Your PHP installation doesn't support XML parsing. <strong><?php echo $app_name; ?> will not work here.</strong></li> |
303 | <?php endif; ?> | 333 | <?php endif; ?> |
304 | <?php else: ?> | 334 | <?php else: ?> |
305 | <li><strong>PHP:</strong> You are running an unsupported version of PHP. <em><?php echo $app_name; ?> will not work here.</em></li> | 335 | <li><strong>PHP:</strong> You are running an unsupported version of PHP. <strong><?php echo $app_name; ?> will not work here.</strong></li> |
306 | <?php endif; ?> | 336 | <?php endif; ?> |
307 | <?php endif; ?> | 337 | <?php endif; ?> |
308 | </ol> | 338 | </ol> |
@@ -310,16 +340,26 @@ div.chunk { | |||
310 | 340 | ||
311 | <div class="chunk"> | 341 | <div class="chunk"> |
312 | <?php //if ($php_ok && $xml_ok && $pcre_ok && $mbstring_ok && $iconv_ok && $filter_ok && $allow_url_fopen_ok) { ?> | 342 | <?php //if ($php_ok && $xml_ok && $pcre_ok && $mbstring_ok && $iconv_ok && $filter_ok && $allow_url_fopen_ok) { ?> |
313 | <?php if ($php_ok && $xml_ok && $pcre_ok && $filter_ok && $allow_url_fopen_ok) { ?> | 343 | <?php if ($php_ok && $xml_ok && $pcre_ok && $filter_ok && $allow_url_fopen_ok && $gettext_ok) { ?> |
314 | <h3>Bottom Line: Yes, you can!</h3> | 344 | <h3>Bottom Line: Yes, you can!</h3> |
315 | <p><em>Your webhost has its act together!</em></p> | 345 | <p><em>Your webhost has its act together!</em></p> |
346 | <?php if (!$frominstall) { ?> | ||
316 | <p>You can download the latest version of <?php echo $app_name; ?> from <a href="http://wallabag.org/download">wallabag.org</a>.</p> | 347 | <p>You can download the latest version of <?php echo $app_name; ?> from <a href="http://wallabag.org/download">wallabag.org</a>.</p> |
348 | <p>If you already have done that, you should access <a href="index.php">the index.php file</a> of your installation to configure and/or start using wallabag</p> | ||
349 | <?php } else { ?> | ||
350 | <p>You can now <a href="index.php">return to the installation section</a>.</p> | ||
351 | <?php } ?> | ||
317 | <p><strong>Note</strong>: Passing this test does not guarantee that <?php echo $app_name; ?> will run on your webhost — it only ensures that the basic requirements have been addressed. If you experience any problems, please let us know.</p> | 352 | <p><strong>Note</strong>: Passing this test does not guarantee that <?php echo $app_name; ?> will run on your webhost — it only ensures that the basic requirements have been addressed. If you experience any problems, please let us know.</p> |
318 | <?php //} else if ($php_ok && $xml_ok && $pcre_ok && $mbstring_ok && $allow_url_fopen_ok && $filter_ok) { ?> | 353 | <?php //} else if ($php_ok && $xml_ok && $pcre_ok && $mbstring_ok && $allow_url_fopen_ok && $filter_ok) { ?> |
319 | <?php } else if ($php_ok && $xml_ok && $pcre_ok && $allow_url_fopen_ok && $filter_ok) { ?> | 354 | <?php } else if ($php_ok && $xml_ok && $pcre_ok && $allow_url_fopen_ok && $filter_ok && $gettext_ok) { ?> |
320 | <h3>Bottom Line: Yes, you can!</h3> | 355 | <h3>Bottom Line: Yes, you can!</h3> |
321 | <p><em>For most feeds, it'll run with no problems.</em> There are certain languages that you might have a hard time with though.</p> | 356 | <p><em>For most feeds, it'll run with no problems.</em> There are certain languages that you might have a hard time with though.</p> |
357 | <?php if (!$frominstall) { ?> | ||
322 | <p>You can download the latest version of <?php echo $app_name; ?> from <a href="http://wallabag.org/download">wallabag.org</a>.</p> | 358 | <p>You can download the latest version of <?php echo $app_name; ?> from <a href="http://wallabag.org/download">wallabag.org</a>.</p> |
359 | <p>If you already have done that, you should access <a href="index.php">the index.php file</a> of your installation to configure and/or start using wallabag</p> | ||
360 | <?php } else { ?> | ||
361 | <p>You can now <a href="index.php">return to the installation section</a>.</p> | ||
362 | <?php } ?> | ||
323 | <p><strong>Note</strong>: Passing this test does not guarantee that <?php echo $app_name; ?> will run on your webhost — it only ensures that the basic requirements have been addressed. If you experience any problems, please let us know.</p> | 363 | <p><strong>Note</strong>: Passing this test does not guarantee that <?php echo $app_name; ?> will run on your webhost — it only ensures that the basic requirements have been addressed. If you experience any problems, please let us know.</p> |
324 | <?php } else { ?> | 364 | <?php } else { ?> |
325 | <h3>Bottom Line: We're sorry…</h3> | 365 | <h3>Bottom Line: We're sorry…</h3> |