浏览代码

Add missing variable (#3427)

When refactoring the install in #3368, a variable was unwillingly removed.
It's back in the code now.
Alexis Degrugillier 5 年之前
父节点
当前提交
afc30cef3d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/install.php

+ 1 - 0
app/install.php

@@ -396,6 +396,7 @@ function printStep1() {
 	<noscript><p class="alert alert-warn"><span class="alert-head"><?= _t('gen.short.attention') ?></span> <?= _t('install.javascript_is_better') ?></p></noscript>
 	<noscript><p class="alert alert-warn"><span class="alert-head"><?= _t('gen.short.attention') ?></span> <?= _t('install.javascript_is_better') ?></p></noscript>
 
 
 	<?php
 	<?php
+	$version = curl_version();
 	printStep1Template('php', $res['php'], [PHP_VERSION, FRESHRSS_MIN_PHP_VERSION]);
 	printStep1Template('php', $res['php'], [PHP_VERSION, FRESHRSS_MIN_PHP_VERSION]);
 	printStep1Template('pdo', $res['pdo']);
 	printStep1Template('pdo', $res['pdo']);
 	printStep1Template('curl', $res['curl'], [$version['version']]);
 	printStep1Template('curl', $res['curl'], [$version['version']]);