fix(BlueprintClientLibrary, BlueprintAdminLibrary): Switch to built-in php function for file reading.

This commit is contained in:
purple 2023-10-03 21:56:13 +02:00
parent e3e1612615
commit 2623ec8d04
2 changed files with 2 additions and 2 deletions

View file

@ -64,7 +64,7 @@ class BlueprintAdminLibrary
| fileWipe("path");
*/
public function fileRead($path) {
return shell_exec("cat ".escapeshellarg($path).";");
return file_get_contents($path);
}
public function fileMake($path) {

View file

@ -39,7 +39,7 @@ class BlueprintClientLibrary
| fileWipe("path");
*/
public function fileRead($path) {
return shell_exec("cat ".escapeshellarg($path).";");
return file_get_contents($path);
}
public function fileMake($path) {