Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
b3bd5932
Unverified
Commit
b3bd5932
authored
Jan 19, 2017
by
Vincent Petry
Browse files
Update icewind/streams to 0.5.3 in files_external
parent
ec3cd8da
Changes
13
Hide whitespace changes
Inline
Side-by-side
apps/files_external/3rdparty/autoload.php
View file @
b3bd5932
...
...
@@ -2,6 +2,6 @@
// autoload.php @generated by Composer
require_once
__DIR__
.
'/composer
'
.
'
/autoload_real.php'
;
require_once
__DIR__
.
'/composer/autoload_real.php'
;
return
ComposerAutoloaderInit98fe9b281934250b3a93f69a5ce843b3
::
getLoader
();
apps/files_external/3rdparty/composer.json
View file @
b3bd5932
...
...
@@ -9,7 +9,7 @@
},
"require"
:
{
"icewind/smb"
:
"1.1.0"
,
"icewind/streams"
:
"0.
4.1
"
"icewind/streams"
:
"0.
5.2
"
}
}
apps/files_external/3rdparty/composer.lock
View file @
b3bd5932
...
...
@@ -4,8 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"hash": "8ed3150b0b3e916ad66558242b4cf2a0",
"content-hash": "70722dcee13b3ac1c1951479b7431c97",
"content-hash": "3d2cb15944599a6ed89cf02a3924a3eb",
"packages": [
{
"name": "icewind/smb",
...
...
@@ -32,8 +31,7 @@
"type": "library",
"autoload": {
"psr-4": {
"Icewind\\SMB\\": "src/",
"Icewind\\SMB\\Test\\": "tests/"
"Icewind\\SMB\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
...
...
@@ -47,20 +45,20 @@
}
],
"description": "php wrapper for smbclient and libsmbclient-php",
"time": "2016-04-26
13:26:39"
"time": "2016-04-26
T
13:26:39
+00:00
"
},
{
"name": "icewind/streams",
"version": "0.
4.1
",
"version": "0.
5.2
",
"source": {
"type": "git",
"url": "https://github.com/icewind1991/Streams.git",
"reference": "
d3620e8dc410c86c2ba55579803679c4e0b289ac
"
"reference": "
6bfd2fdbd99319f5e010d0a684409189a562cb1e
"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/icewind1991/Streams/zipball/
d3620e8dc410c86c2ba55579803679c4e0b289ac
",
"reference": "
d3620e8dc410c86c2ba55579803679c4e0b289ac
",
"url": "https://api.github.com/repos/icewind1991/Streams/zipball/
6bfd2fdbd99319f5e010d0a684409189a562cb1e
",
"reference": "
6bfd2fdbd99319f5e010d0a684409189a562cb1e
",
"shasum": ""
},
"require": {
...
...
@@ -73,7 +71,6 @@
"type": "library",
"autoload": {
"psr-4": {
"Icewind\\Streams\\Tests\\": "tests/",
"Icewind\\Streams\\": "src/"
}
},
...
...
@@ -88,7 +85,7 @@
}
],
"description": "A set of generic stream wrappers",
"time": "2016-
06
-02
14:
37:52
"
"time": "2016-
12
-02
T
14:
21:23+00:00
"
}
],
"packages-dev": [],
...
...
apps/files_external/3rdparty/composer/ClassLoader.php
View file @
b3bd5932
...
...
@@ -53,8 +53,9 @@ class ClassLoader
private
$useIncludePath
=
false
;
private
$classMap
=
array
();
private
$classMapAuthoritative
=
false
;
private
$missingClasses
=
array
();
private
$apcuPrefix
;
public
function
getPrefixes
()
{
...
...
@@ -271,6 +272,26 @@ class ClassLoader
return
$this
->
classMapAuthoritative
;
}
/**
* APCu prefix to use to cache found/not-found classes, if the extension is enabled.
*
* @param string|null $apcuPrefix
*/
public
function
setApcuPrefix
(
$apcuPrefix
)
{
$this
->
apcuPrefix
=
function_exists
(
'apcu_fetch'
)
&&
ini_get
(
'apc.enabled'
)
?
$apcuPrefix
:
null
;
}
/**
* The APCu prefix in use, or null if APCu caching is not enabled.
*
* @return string|null
*/
public
function
getApcuPrefix
()
{
return
$this
->
apcuPrefix
;
}
/**
* Registers this instance as an autoloader.
*
...
...
@@ -313,29 +334,34 @@ class ClassLoader
*/
public
function
findFile
(
$class
)
{
// work around for PHP 5.3.0 - 5.3.2 https://bugs.php.net/50731
if
(
'\\'
==
$class
[
0
])
{
$class
=
substr
(
$class
,
1
);
}
// class map lookup
if
(
isset
(
$this
->
classMap
[
$class
]))
{
return
$this
->
classMap
[
$class
];
}
if
(
$this
->
classMapAuthoritative
)
{
if
(
$this
->
classMapAuthoritative
||
isset
(
$this
->
missingClasses
[
$class
])
)
{
return
false
;
}
if
(
null
!==
$this
->
apcuPrefix
)
{
$file
=
apcu_fetch
(
$this
->
apcuPrefix
.
$class
,
$hit
);
if
(
$hit
)
{
return
$file
;
}
}
$file
=
$this
->
findFileWithExtension
(
$class
,
'.php'
);
// Search for Hack files if we are running on HHVM
if
(
$fil
e
===
null
&&
defined
(
'HHVM_VERSION'
))
{
if
(
fals
e
===
$file
&&
defined
(
'HHVM_VERSION'
))
{
$file
=
$this
->
findFileWithExtension
(
$class
,
'.hh'
);
}
if
(
$file
===
null
)
{
if
(
null
!==
$this
->
apcuPrefix
)
{
apcu_add
(
$this
->
apcuPrefix
.
$class
,
$file
);
}
if
(
false
===
$file
)
{
// Remember that this class does not exist.
return
$this
->
c
lass
Map
[
$class
]
=
fals
e
;
$this
->
missingC
lass
es
[
$class
]
=
tru
e
;
}
return
$file
;
...
...
@@ -399,6 +425,8 @@ class ClassLoader
if
(
$this
->
useIncludePath
&&
$file
=
stream_resolve_include_path
(
$logicalPathPsr0
))
{
return
$file
;
}
return
false
;
}
}
...
...
apps/files_external/3rdparty/composer/autoload_classmap.php
View file @
b3bd5932
...
...
@@ -51,6 +51,7 @@ return array(
'Icewind\\Streams\\IteratorDirectory'
=>
$vendorDir
.
'/icewind/streams/src/IteratorDirectory.php'
,
'Icewind\\Streams\\NullWrapper'
=>
$vendorDir
.
'/icewind/streams/src/NullWrapper.php'
,
'Icewind\\Streams\\Path'
=>
$vendorDir
.
'/icewind/streams/src/Path.php'
,
'Icewind\\Streams\\PathWrapper'
=>
$vendorDir
.
'/icewind/streams/src/PathWrapper.php'
,
'Icewind\\Streams\\RetryWrapper'
=>
$vendorDir
.
'/icewind/streams/src/RetryWrapper.php'
,
'Icewind\\Streams\\SeekableWrapper'
=>
$vendorDir
.
'/icewind/streams/src/SeekableWrapper.php'
,
'Icewind\\Streams\\Url'
=>
$vendorDir
.
'/icewind/streams/src/Url.php'
,
...
...
apps/files_external/3rdparty/composer/autoload_psr4.php
View file @
b3bd5932
...
...
@@ -6,8 +6,6 @@ $vendorDir = dirname(dirname(__FILE__));
$baseDir
=
$vendorDir
;
return
array
(
'Icewind\\Streams\\Tests\\'
=>
array
(
$vendorDir
.
'/icewind/streams/tests'
),
'Icewind\\Streams\\'
=>
array
(
$vendorDir
.
'/icewind/streams/src'
),
'Icewind\\SMB\\Test\\'
=>
array
(
$vendorDir
.
'/icewind/smb/tests'
),
'Icewind\\SMB\\'
=>
array
(
$vendorDir
.
'/icewind/smb/src'
),
);
apps/files_external/3rdparty/composer/autoload_real.php
View file @
b3bd5932
...
...
@@ -23,9 +23,16 @@ class ComposerAutoloaderInit98fe9b281934250b3a93f69a5ce843b3
self
::
$loader
=
$loader
=
new
\
Composer\Autoload\ClassLoader
();
spl_autoload_unregister
(
array
(
'ComposerAutoloaderInit98fe9b281934250b3a93f69a5ce843b3'
,
'loadClassLoader'
));
$classMap
=
require
__DIR__
.
'/autoload_classmap.php'
;
if
(
$classMap
)
{
$loader
->
addClassMap
(
$classMap
);
$useStaticLoader
=
PHP_VERSION_ID
>=
50600
&&
!
defined
(
'HHVM_VERSION'
)
&&
(
!
function_exists
(
'zend_loader_file_encoded'
)
||
!
zend_loader_file_encoded
());
if
(
$useStaticLoader
)
{
require_once
__DIR__
.
'/autoload_static.php'
;
call_user_func
(
\
Composer\Autoload\ComposerStaticInit98fe9b281934250b3a93f69a5ce843b3
::
getInitializer
(
$loader
));
}
else
{
$classMap
=
require
__DIR__
.
'/autoload_classmap.php'
;
if
(
$classMap
)
{
$loader
->
addClassMap
(
$classMap
);
}
}
$loader
->
setClassMapAuthoritative
(
true
);
...
...
apps/files_external/3rdparty/composer/autoload_static.php
0 → 100644
View file @
b3bd5932
<?php
// autoload_static.php @generated by Composer
namespace
Composer\Autoload
;
class
ComposerStaticInit98fe9b281934250b3a93f69a5ce843b3
{
public
static
$prefixLengthsPsr4
=
array
(
'I'
=>
array
(
'Icewind\\Streams\\'
=>
16
,
'Icewind\\SMB\\'
=>
12
,
),
);
public
static
$prefixDirsPsr4
=
array
(
'Icewind\\Streams\\'
=>
array
(
0
=>
__DIR__
.
'/..'
.
'/icewind/streams/src'
,
),
'Icewind\\SMB\\'
=>
array
(
0
=>
__DIR__
.
'/..'
.
'/icewind/smb/src'
,
),
);
public
static
$classMap
=
array
(
'Icewind\\SMB\\AbstractShare'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/AbstractShare.php'
,
'Icewind\\SMB\\Connection'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Connection.php'
,
'Icewind\\SMB\\ErrorCodes'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/ErrorCodes.php'
,
'Icewind\\SMB\\Exception\\AccessDeniedException'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Exception/AccessDeniedException.php'
,
'Icewind\\SMB\\Exception\\AlreadyExistsException'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Exception/AlreadyExistsException.php'
,
'Icewind\\SMB\\Exception\\AuthenticationException'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Exception/AuthenticationException.php'
,
'Icewind\\SMB\\Exception\\ConnectException'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Exception/ConnectException.php'
,
'Icewind\\SMB\\Exception\\ConnectionException'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Exception/ConnectionException.php'
,
'Icewind\\SMB\\Exception\\ConnectionRefusedException'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Exception/ConnectionRefusedException.php'
,
'Icewind\\SMB\\Exception\\Exception'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Exception/Exception.php'
,
'Icewind\\SMB\\Exception\\FileInUseException'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Exception/FileInUseException.php'
,
'Icewind\\SMB\\Exception\\ForbiddenException'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Exception/ForbiddenException.php'
,
'Icewind\\SMB\\Exception\\HostDownException'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Exception/HostDownException.php'
,
'Icewind\\SMB\\Exception\\InvalidHostException'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Exception/InvalidHostException.php'
,
'Icewind\\SMB\\Exception\\InvalidPathException'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Exception/InvalidPathException.php'
,
'Icewind\\SMB\\Exception\\InvalidRequestException'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Exception/InvalidRequestException.php'
,
'Icewind\\SMB\\Exception\\InvalidResourceException'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Exception/InvalidResourceException.php'
,
'Icewind\\SMB\\Exception\\InvalidTypeException'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Exception/InvalidTypeException.php'
,
'Icewind\\SMB\\Exception\\NoLoginServerException'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Exception/NoLoginServerException.php'
,
'Icewind\\SMB\\Exception\\NoRouteToHostException'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Exception/NoRouteToHostException.php'
,
'Icewind\\SMB\\Exception\\NotEmptyException'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Exception/NotEmptyException.php'
,
'Icewind\\SMB\\Exception\\NotFoundException'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Exception/NotFoundException.php'
,
'Icewind\\SMB\\Exception\\TimedOutException'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Exception/TimedOutException.php'
,
'Icewind\\SMB\\FileInfo'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/FileInfo.php'
,
'Icewind\\SMB\\IFileInfo'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/IFileInfo.php'
,
'Icewind\\SMB\\IShare'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/IShare.php'
,
'Icewind\\SMB\\NativeFileInfo'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/NativeFileInfo.php'
,
'Icewind\\SMB\\NativeServer'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/NativeServer.php'
,
'Icewind\\SMB\\NativeShare'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/NativeShare.php'
,
'Icewind\\SMB\\NativeState'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/NativeState.php'
,
'Icewind\\SMB\\NativeStream'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/NativeStream.php'
,
'Icewind\\SMB\\Parser'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Parser.php'
,
'Icewind\\SMB\\RawConnection'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/RawConnection.php'
,
'Icewind\\SMB\\Server'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Server.php'
,
'Icewind\\SMB\\Share'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/Share.php'
,
'Icewind\\SMB\\System'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/System.php'
,
'Icewind\\SMB\\TimeZoneProvider'
=>
__DIR__
.
'/..'
.
'/icewind/smb/src/TimeZoneProvider.php'
,
'Icewind\\Streams\\CallbackWrapper'
=>
__DIR__
.
'/..'
.
'/icewind/streams/src/CallbackWrapper.php'
,
'Icewind\\Streams\\Directory'
=>
__DIR__
.
'/..'
.
'/icewind/streams/src/Directory.php'
,
'Icewind\\Streams\\DirectoryFilter'
=>
__DIR__
.
'/..'
.
'/icewind/streams/src/DirectoryFilter.php'
,
'Icewind\\Streams\\DirectoryWrapper'
=>
__DIR__
.
'/..'
.
'/icewind/streams/src/DirectoryWrapper.php'
,
'Icewind\\Streams\\File'
=>
__DIR__
.
'/..'
.
'/icewind/streams/src/File.php'
,
'Icewind\\Streams\\IteratorDirectory'
=>
__DIR__
.
'/..'
.
'/icewind/streams/src/IteratorDirectory.php'
,
'Icewind\\Streams\\NullWrapper'
=>
__DIR__
.
'/..'
.
'/icewind/streams/src/NullWrapper.php'
,
'Icewind\\Streams\\Path'
=>
__DIR__
.
'/..'
.
'/icewind/streams/src/Path.php'
,
'Icewind\\Streams\\PathWrapper'
=>
__DIR__
.
'/..'
.
'/icewind/streams/src/PathWrapper.php'
,
'Icewind\\Streams\\RetryWrapper'
=>
__DIR__
.
'/..'
.
'/icewind/streams/src/RetryWrapper.php'
,
'Icewind\\Streams\\SeekableWrapper'
=>
__DIR__
.
'/..'
.
'/icewind/streams/src/SeekableWrapper.php'
,
'Icewind\\Streams\\Url'
=>
__DIR__
.
'/..'
.
'/icewind/streams/src/Url.php'
,
'Icewind\\Streams\\UrlCallback'
=>
__DIR__
.
'/..'
.
'/icewind/streams/src/UrlCallBack.php'
,
'Icewind\\Streams\\Wrapper'
=>
__DIR__
.
'/..'
.
'/icewind/streams/src/Wrapper.php'
,
);
public
static
function
getInitializer
(
ClassLoader
$loader
)
{
return
\
Closure
::
bind
(
function
()
use
(
$loader
)
{
$loader
->
prefixLengthsPsr4
=
ComposerStaticInit98fe9b281934250b3a93f69a5ce843b3
::
$prefixLengthsPsr4
;
$loader
->
prefixDirsPsr4
=
ComposerStaticInit98fe9b281934250b3a93f69a5ce843b3
::
$prefixDirsPsr4
;
$loader
->
classMap
=
ComposerStaticInit98fe9b281934250b3a93f69a5ce843b3
::
$classMap
;
},
null
,
ClassLoader
::
class
);
}
}
apps/files_external/3rdparty/composer/installed.json
View file @
b3bd5932
...
...
@@ -22,13 +22,12 @@
"phpunit/phpunit"
:
"^4.8"
,
"satooshi/php-coveralls"
:
"v1.0.0"
},
"time"
:
"2016-04-26
13:26:39"
,
"time"
:
"2016-04-26
T
13:26:39
+00:00
"
,
"type"
:
"library"
,
"installation-source"
:
"source"
,
"autoload"
:
{
"psr-4"
:
{
"Icewind\\SMB\\"
:
"src/"
,
"Icewind\\SMB\\Test\\"
:
"tests/"
"Icewind\\SMB\\"
:
"src/"
}
},
"notification-url"
:
"https://packagist.org/downloads/"
,
...
...
@@ -45,17 +44,17 @@
},
{
"name"
:
"icewind/streams"
,
"version"
:
"0.
4.1
"
,
"version_normalized"
:
"0.
4.1
.0"
,
"version"
:
"0.
5.2
"
,
"version_normalized"
:
"0.
5.2
.0"
,
"source"
:
{
"type"
:
"git"
,
"url"
:
"https://github.com/icewind1991/Streams.git"
,
"reference"
:
"
d3620e8dc410c86c2ba55579803679c4e0b289ac
"
"reference"
:
"
6bfd2fdbd99319f5e010d0a684409189a562cb1e
"
},
"dist"
:
{
"type"
:
"zip"
,
"url"
:
"https://api.github.com/repos/icewind1991/Streams/zipball/
d3620e8dc410c86c2ba55579803679c4e0b289ac
"
,
"reference"
:
"
d3620e8dc410c86c2ba55579803679c4e0b289ac
"
,
"url"
:
"https://api.github.com/repos/icewind1991/Streams/zipball/
6bfd2fdbd99319f5e010d0a684409189a562cb1e
"
,
"reference"
:
"
6bfd2fdbd99319f5e010d0a684409189a562cb1e
"
,
"shasum"
:
""
},
"require"
:
{
...
...
@@ -65,12 +64,11 @@
"phpunit/phpunit"
:
"^4.8"
,
"satooshi/php-coveralls"
:
"v1.0.0"
},
"time"
:
"2016-
06
-02
14:
37:52
"
,
"time"
:
"2016-
12
-02
T
14:
21:23+00:00
"
,
"type"
:
"library"
,
"installation-source"
:
"dist"
,
"autoload"
:
{
"psr-4"
:
{
"Icewind\\Streams\\Tests\\"
:
"tests/"
,
"Icewind\\Streams\\"
:
"src/"
}
},
...
...
apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php
View file @
b3bd5932
...
...
@@ -107,6 +107,8 @@ class CallbackWrapper extends Wrapper {
$result
=
parent
::
stream_close
();
if
(
is_callable
(
$this
->
closeCallback
))
{
call_user_func
(
$this
->
closeCallback
);
// prevent further calls by potential PHP 7 GC ghosts
$this
->
closeCallback
=
null
;
}
return
$result
;
}
...
...
apps/files_external/3rdparty/icewind/streams/src/Path.php
View file @
b3bd5932
...
...
@@ -56,7 +56,7 @@ class Path {
protected
function
register
()
{
if
(
!
$this
->
registered
)
{
$this
->
appendDefaultContent
(
$this
->
getProtocol
(),
$this
->
contextOptions
);
$this
->
appendDefaultContent
(
$this
->
contextOptions
);
stream_wrapper_register
(
$this
->
getProtocol
(),
$this
->
class
);
$this
->
registered
=
true
;
}
...
...
@@ -71,13 +71,17 @@ class Path {
/**
* Add values to the default stream context
*
* @param string $key
* @param array $values
*/
protected
function
appendDefaultContent
(
$key
,
$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
);
$defaults
[
$key
]
=
$values
;
foreach
(
$values
as
$key
=>
$value
)
{
$defaults
[
$key
]
=
$value
;
}
stream_context_set_default
(
$defaults
);
}
...
...
apps/files_external/3rdparty/icewind/streams/src/PathWrapper.php
0 → 100644
View file @
b3bd5932
<?php
/**
* Copyright (c) 2016 Robin Appelman <icewind@owncloud.com>
* This file is licensed under the Licensed under the MIT license:
* http://opensource.org/licenses/MIT
*/
namespace
Icewind\Streams
;
/**
* A string-like object that maps to an existing stream when opened
*/
class
PathWrapper
extends
NullWrapper
{
/**
* @param resource $source
* @return Path|string
*/
public
static
function
getPath
(
$source
)
{
return
new
Path
(
__CLASS__
,
[
'null'
=>
[
'source'
=>
$source
]
]);
}
}
apps/files_external/3rdparty/icewind/streams/src/Wrapper.php
View file @
b3bd5932
...
...
@@ -53,7 +53,7 @@ abstract class Wrapper implements File, Directory {
if
(
isset
(
$context
[
$name
]))
{
$context
=
$context
[
$name
];
}
else
{
throw
new
\
BadMethodCallException
(
'Invalid context, "
callable
" options not set'
);
throw
new
\
BadMethodCallException
(
'Invalid context, "
'
.
$name
.
'
" options not set'
);
}
if
(
isset
(
$context
[
'source'
])
and
is_resource
(
$context
[
'source'
]))
{
$this
->
setSourceStream
(
$context
[
'source'
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment