s/is_writeable/is_writable/g
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user