|
@@ -248,6 +248,8 @@ function getExtendArray()
|
|
|
function getIsWriteArray()
|
|
function getIsWriteArray()
|
|
|
{
|
|
{
|
|
|
return [
|
|
return [
|
|
|
|
|
+ '/.env',
|
|
|
|
|
+ '/data/',
|
|
|
'/public/install/',
|
|
'/public/install/',
|
|
|
'/public/uploads/',
|
|
'/public/uploads/',
|
|
|
'/public/temp/',
|
|
'/public/temp/',
|
|
@@ -258,7 +260,7 @@ function getIsWriteArray()
|
|
|
// 获取检测的函数数据
|
|
// 获取检测的函数数据
|
|
|
function getExistsFuncArray()
|
|
function getExistsFuncArray()
|
|
|
{
|
|
{
|
|
|
- return ['curl_init', 'bcadd', 'mb_substr', 'simplexml_load_string'];
|
|
|
|
|
|
|
+ return ['curl_init', 'chmod ', 'bcadd', 'mb_substr', 'simplexml_load_string'];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 测试可写性
|
|
// 测试可写性
|