diff --git a/src/CLI.php b/src/CLI.php index 8aa1e0b..e30d227 100644 --- a/src/CLI.php +++ b/src/CLI.php @@ -300,7 +300,7 @@ public function recursiveCommand(string $Command, callable $Callable): string private function peMeta(string $File): string { return $this->recursiveCommand($File, function ($Params) { - $Data = $this->Loader->readFileContent($Params); + $Data = $this->Loader->readFile($Params); $Returnable = ''; if (substr($Data, 0, 2) !== 'MZ') { return $this->Loader->L10N->getString('cli_pe1') . "\n"; @@ -397,7 +397,7 @@ private function coexFile(string $Clean): string if (filter_var($Params, FILTER_VALIDATE_URL)) { $Data = $this->Loader->Request->request($Params); } elseif (is_file($Params) && is_readable($Params)) { - $Data = $this->Loader->readFileContent($Params); + $Data = $this->Loader->readFile($Params); } if (empty($Data)) { return $this->Loader->L10N->getString('response.Invalid data') . "\n"; @@ -424,7 +424,7 @@ private function hashFile(string $Clean): string if (filter_var($Params, FILTER_VALIDATE_URL)) { $Data = $this->Loader->Request->request($Params); } elseif (is_file($Params) && is_readable($Params)) { - $Data = $this->Loader->readFileContent($Params); + $Data = $this->Loader->readFile($Params); } if (empty($Data)) { return $this->Loader->L10N->getString('response.Invalid data') . "\n";