$check_dirs = array (
'../../config',
'../../function',
'../../function/_compile',
'../../function/_cache',
'../../function/uploadfile',
'../../function/backup'
);
$i = 0;
foreach ($check_dirs AS $dir){
$full_dir = $dir;
$check_writeable = check_writeable($full_dir);
if ($check_writeable == '1')
{
echo "<p>".$check_dirs[$i]." ................................................................... <font color='#00CC33'>可写</font></p>";
}
elseif ($check_writeable == '0')
{
echo "<p>".$check_dirs[$i]." ................................................................... <font color='#ff0000'>不可写</font></p>";
$no_write = true;
}
elseif ($check_writeable == '2')
{
echo "<p>".$check_dirs[$i]." ................................................................... <b>不存在</b></p>";
$no_write = true;
}
$i = $i + 1;
}
HMHQWTO9(@3D~@DQHQOCY2X.png (8.67 KB, 下载次数: 5477)
显示不存在。。。
admin 发表于 2015-8-18 19:56
1.确认目录是否存在
2.目录是否有权限(写入和读取)
3.PHP版本切换到5.3或以上 ...
欢迎光临 免费PHP万能建站系统_社区团购SaaS_商城系统_软件开发_虚拟币交易所系统_矿机系统_微信钻石投票系统_成品源码 (https://ourphp.net/club/) | Powered by Discuz! X3.2 |