summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>