mirror of
https://codeberg.org/icewind/streams.git
synced 2026-06-03 08:34:09 +02:00
fix a problem with UrlCallBack
This commit is contained in:
parent
5981b1b39c
commit
0700f81441
1 changed files with 3 additions and 0 deletions
|
|
@ -74,6 +74,9 @@ class Path {
|
|||
* @param array $values
|
||||
*/
|
||||
protected function appendDefaultContent($values) {
|
||||
if (!is_array(current($values))) {
|
||||
$values = array($this->getProtocol() => $values);
|
||||
}
|
||||
$context = stream_context_get_default();
|
||||
$defaults = stream_context_get_options($context);
|
||||
foreach ($values as $key => $value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue