Rename permision to permission

This commit is contained in:
Divarion-D
2025-09-07 02:11:13 +03:00
parent 206ea28fe3
commit 182a79f05a
2 changed files with 2 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ function loadcli() {
// Set correct owner and permissions
shell_exec('sudo chown xc_vm:xc_vm "' . $rFile['path'] . '"');
shell_exec('sudo chmod ' . $rFile["permision"] . ' "' . $rFile['path'] . '"');
shell_exec('sudo chmod ' . $rFile["permission"] . ' "' . $rFile['path'] . '"');
$rUpdated = true;
}
}

View File

@@ -431,7 +431,7 @@ class GitHubReleases {
$data_files[] = [
"fileurl" => $file_url, // Remote file URL
"path" => "/home/xc_vm/bin/maxmind/{$file}", // Local path where the file should be stored
"permision" => "0750", // File permission
"permission" => "0750", // File permission
"md5" => $hash_md5 // File hash (MD5)
];
}