fix:启用函数
This commit is contained in:
@@ -186,6 +186,10 @@ class IndexController extends Controller
|
||||
'pdo_mysql' => extension_loaded('pdo_mysql') ? '✓' : '×',
|
||||
'curl' => extension_loaded('curl') ? '✓' : '×',
|
||||
'gd2' => extension_loaded('gd') ? '✓' : '×',
|
||||
'fileinfo' => extension_loaded('fileinfo') ? '✓' : '×',
|
||||
'putenv' => function_exists('putenv') ? '✓' : '×',
|
||||
'symlink' => function_exists('symlink') ? '✓' : '×',
|
||||
'proc_open' => function_exists('proc_open') ? '✓' : '×',
|
||||
'log' => File::isWritable(storage_path('logs')) ? '✓' : '×',
|
||||
'upload' => File::isWritable(storage_path('app')) ? '✓' : '×',
|
||||
'cache' => File::isWritable(storage_path('framework')) ? '✓' : '×',
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>PHP版本</td>
|
||||
<td>大于7.2</td>
|
||||
<td>≥8.1</td>
|
||||
<td>{!! $chk['php_version'] !!}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -124,12 +124,32 @@
|
||||
<td>支持</td>
|
||||
<td>{!! $chk['gd2'] !!}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>fileinfo</td>
|
||||
<td>支持</td>
|
||||
<td>{!! $chk['fileinfo'] !!}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>putenv</td>
|
||||
<td>支持</td>
|
||||
<td>{!! $chk['putenv'] !!}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>symlink</td>
|
||||
<td>支持</td>
|
||||
<td>{!! $chk['symlink'] !!}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>proc_open</td>
|
||||
<td>支持</td>
|
||||
<td>{!! $chk['proc_open'] !!}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mounted-tips mt16">
|
||||
系统要求安装目录下的runtime和upload必须可写,才能使用系统的所有功能。
|
||||
系统要求安装目录下的storage必须可写,才能使用系统的所有功能。
|
||||
</div>
|
||||
<div class="mounted-item mt16">
|
||||
<div class="content-header">
|
||||
|
||||
Reference in New Issue
Block a user