summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-05-12 15:45:41 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-05-12 15:45:41 +0200
commit8fb61fadd075984c58cc9181e2547eef63e20637 (patch)
treef5883439f0b9275f67e08675474d2da86c20bc9b
parentaae0bf47a210b203ce4797325b6dd2d78734dc2b (diff)
Fix issue #80 : corrige bug lorsque cURL n'est pas activé à l'installation
-rw-r--r--public/install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/install.php b/public/install.php
index 672bb4418..52b129a70 100644
--- a/public/install.php
+++ b/public/install.php
@@ -358,8 +358,8 @@ function printStep1 () {
<p class="alert alert-error"><span class="alert-head"><?php echo _t ('damn'); ?></span> <?php echo _t ('minz_is_nok', LIB_PATH . '/minz'); ?></p>
<?php } ?>
- <?php $version = curl_version(); ?>
<?php if ($res['curl'] == 'ok') { ?>
+ <?php $version = curl_version(); ?>
<p class="alert alert-success"><span class="alert-head"><?php echo _t ('ok'); ?></span> <?php echo _t ('curl_is_ok', $version['version']); ?></p>
<?php } else { ?>
<p class="alert alert-error"><span class="alert-head"><?php echo _t ('damn'); ?></span> <?php echo _t ('curl_is_nok'); ?></p>