diff options
author | Thomas Citharel <tcit@tcit.fr> | 2015-02-13 17:13:11 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2015-02-13 17:13:11 +0100 |
commit | af13787e74ea45d7edc1005810f15a8baa428a77 (patch) | |
tree | 5dc3cbea022229e3f720098ba05653279adb14fe /install/index.php | |
parent | d7d88631e125c98cc2e7432c8147afc2ceda3d42 (diff) | |
download | wallabag-af13787e74ea45d7edc1005810f15a8baa428a77.tar.gz wallabag-af13787e74ea45d7edc1005810f15a8baa428a77.tar.zst wallabag-af13787e74ea45d7edc1005810f15a8baa428a77.zip |
fix #1078
Diffstat (limited to 'install/index.php')
-rwxr-xr-x | install/index.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/install/index.php b/install/index.php index 0d3977bb..46638f8f 100755 --- a/install/index.php +++ b/install/index.php | |||
@@ -522,8 +522,16 @@ border: 1px solid #000; | |||
522 | <tr class="<?php echo ($status['allow_url_fopen']) ? 'enabled' : 'disabled'; ?>"> | 522 | <tr class="<?php echo ($status['allow_url_fopen']) ? 'enabled' : 'disabled'; ?>"> |
523 | <td><a href="http://www.php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen">allow_url_fopen</a></td> | 523 | <td><a href="http://www.php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen">allow_url_fopen</a></td> |
524 | <td>Enabled</td> | 524 | <td>Enabled</td> |
525 | <?php echo ($status['allow_url_fopen']) ? '<td class="good">Enabled' : '<td class="bad">Disabled'; ?></td> | 525 | <?php if ($status['allow_url_fopen']) { ?> |
526 | <td><?php echo ($status['allow_url_fopen']) ? '<strong>allow_url_fopen:</strong> You have allow_url_fopen enabled.' : '<strong>allow_url_fopen:</strong> Your PHP configuration has allow_url_fopen disabled. <strong>' . $status['app_name'] . ' will not work here.</strong>' ?></td> | 526 | <td class="good">Enabled</td> |
527 | <td><strong>allow_url_fopen:</strong> You have allow_url_fopen enabled. | ||
528 | <?php } elseif ($status['curl']) { ?> | ||
529 | <td class="pass">Disabled</td> | ||
530 | <td><strong>allow_url_fopen</strong> is disabled, but curl is supported, so it should be ok.</td> | ||
531 | <?php } else { ?> | ||
532 | <td class="bad">Disabled</td> | ||
533 | <td><strong>allow_url_fopen:</strong> Your PHP configuration has allow_url_fopen disabled. | ||
534 | <strong><?php echo $status['app_name']; ?> will not work here.</strong><?php } ?></td> | ||
527 | </tr> | 535 | </tr> |
528 | <tr class="<?php echo ($status['gettext']) ? 'enabled' : 'disabled'; ?>"> | 536 | <tr class="<?php echo ($status['gettext']) ? 'enabled' : 'disabled'; ?>"> |
529 | <td><a href="http://php.net/manual/en/book.gettext.php">gettext</a></td> | 537 | <td><a href="http://php.net/manual/en/book.gettext.php">gettext</a></td> |