Skip to content

add the content of the file in a variable #116

@yoyes86

Description

@yoyes86
$query = (new Query('/file/print'))
                ->where('.id', $file['.id']);
$fileContent = $client->query($query)->read();
$content = $fileContent[0]['contents'];

but only the first line of the file is on the variable
How can I have the entire content on the variable?
It s for create the config client ovpn with certificate.

Metadata

Metadata

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions