From 182a79f05a476eec643b4363de80712dfb147efe Mon Sep 17 00:00:00 2001 From: Divarion-D Date: Sun, 7 Sep 2025 02:11:13 +0300 Subject: [PATCH] Rename permision to permission --- src/includes/cli/binaries.php | 2 +- src/includes/libs/GithubReleases.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/includes/cli/binaries.php b/src/includes/cli/binaries.php index b151936..4e369e4 100644 --- a/src/includes/cli/binaries.php +++ b/src/includes/cli/binaries.php @@ -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; } } diff --git a/src/includes/libs/GithubReleases.php b/src/includes/libs/GithubReleases.php index 3278a06..09bbac3 100644 --- a/src/includes/libs/GithubReleases.php +++ b/src/includes/libs/GithubReleases.php @@ -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) ]; }