修复”图片存放目录“不可写

master
Notte 2018-07-31 13:24:44 +08:00 committed by GitHub
parent 9f6b3704ea
commit aa28e0df71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ switch ($stop) {
$is['mysqli'] = class_exists('mysqli');
//$is['zipArchive'] = class_exists('ZipArchive');
$is['config_writable'] = is_writable($config_file);
$is['pic_writable'] = is_writable('./pic');
$is['pic_writable'] = is_writable('./');
$php_version = explode('-', phpversion());
$php_version = $php_version[0];
$is['php_version_gt530'] = strnatcasecmp($php_version, '5.3.0') >= 0 ? true : false;