mirror of https://gitee.com/karson/fastadmin.git
修复安装检测权限的BUG
parent
0feaecce2d
commit
5cb04aab5e
|
|
@ -25,7 +25,7 @@ function is_really_writable($file)
|
||||||
{
|
{
|
||||||
return is_writable($file);
|
return is_writable($file);
|
||||||
}
|
}
|
||||||
if (!is_file($file) OR ( $fp = @fopen($file, "w+")) === FALSE)
|
if (!is_file($file) OR ( $fp = @fopen($file, "r+")) === FALSE)
|
||||||
{
|
{
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue