PHP常用代码

检查文件权限

// 检查文件权限
if (!is_readable(__DIR__ . '/../admin/config.php')) {
    die("配置文件不可读");
}
无标签
评论区
头像