mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 22:10:49 +00:00
【程序目录】修改安装文件权限检测
This commit is contained in:
parent
bbee3ef7bc
commit
9231d8f0c3
@ -146,8 +146,7 @@
|
||||
<?php
|
||||
foreach ($file as $filename) {
|
||||
$filedir = APP_DIR . $filename;
|
||||
@fopen($filedir, "w");
|
||||
if (testwrite($filedir)) {
|
||||
if (is_writeable($filedir)) {
|
||||
$w = '<span class="correct_span">√</span>可写 ';
|
||||
} else {
|
||||
$w = '<span class="correct_span error_span">√</span>不可写 ';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user