mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-04-13 00:19:08 +00:00
Rename permision to permission
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user