Skip to content

Commit 2714934

Browse files
authored
fix(ClientLibrary): Switch back to shell_exec for fileRead for the time being.
1 parent 5d7e1b7 commit 2714934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/BlueprintFramework/Libraries/ExtensionLibrary/Client/BlueprintClientLibrary.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function dbSet($table, $record, $value) {
3939
| fileWipe("path");
4040
*/
4141
public function fileRead($path) {
42-
return file_get_contents("$path");
42+
return shell_exec("cat ".escapeshellarg($path).";");
4343
}
4444

4545
public function fileMake($path) {

0 commit comments

Comments
 (0)