Update storage.php
This commit is contained in:
parent
958f429403
commit
ea89b3a759
|
@ -149,13 +149,15 @@ if(!function_exists("read_storage_file")) {
|
|||
if(!array_key_empty("encode_base64", $options)) {
|
||||
$result = base64_encode($result);
|
||||
}
|
||||
|
||||
|
||||
if(!array_key_empty("format", $options)) {
|
||||
if(loadHelper("webpagetool")) {
|
||||
if($options['format'] == "json") {
|
||||
$result = get_parsed_json($result, array("stdClass" => true));
|
||||
} elseif($options['format'] == "xml") {
|
||||
$result = get_parsed_xml($result);
|
||||
} elseif($options['format'] == "dom") {
|
||||
$result = get_parsed_dom($result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user