s/is_writeable/is_writable/g

This commit is contained in:
joyqi
2022-04-07 17:31:32 +08:00
parent bad3ef651d
commit 53eda2cf75
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -759,7 +759,7 @@ function install_step_1_perform()
$realUploadDir = \Typecho\Common::url($uploadDir, __TYPECHO_ROOT_DIR__);
$writeable = true;
if (is_dir($realUploadDir)) {
if (!is_writeable($realUploadDir) || !is_readable($realUploadDir)) {
if (!is_writable($realUploadDir) || !is_readable($realUploadDir)) {
if (!@chmod($realUploadDir, 0755)) {
$writeable = false;
}