Author: ralfbecker
New Revision: 51787
URL: http://svn.stylite.de/viewvc/egroupware?rev=51787&view=rev
Log:
fix PHP Fatal error: Call to undefined function is_stream() stalling WebDAV
Modified:
branches/14.1/phpgwapi/ (props changed)
branches/14.1/phpgwapi/inc/class.vfs_webdav_server.inc.php
Propchange: branches/14.1/phpgwapi/
— svn:mergeinfo (original)
+++ svn:mergeinfo Sun Feb 15 01:14:12 2015
@@ -1,2 +1,2 @@
/branches/14.2/phpgwapi:51585
-/trunk/phpgwapi:50982,51000,51015,51020,51057,51157,51159,51169,51185,51203,51279,51366,51479,51503,51530,51539,51701,51775,51779
+/trunk/phpgwapi:50982,51000,51015,51020,51057,51157,51159,51169,51185,51203,51279,51366,51479,51503,51530,51539,51701,51775,51779,51785
Modified: branches/14.1/phpgwapi/inc/class.vfs_webdav_server.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/branches/14.1/phpgwapi/inc/class.vfs_webdav_server.inc.php?rev=51787&r1=51786&r2=51787&view=diff
— branches/14.1/phpgwapi/inc/class.vfs_webdav_server.inc.php (original)
+++ branches/14.1/phpgwapi/inc/class.vfs_webdav_server.inc.php Sun Feb 15 01:14:12 2015
@@ -651,7 +651,7 @@
html::safe_content_header($options[‘stream’], $options[‘path’], $options[‘mimetype’], $options[‘size’], false,
$this->force_download, true); // true = do not send content-type and content-length header, but modify values
-
if (!is_stream($options['stream']))
-
if (!is_resource($options['stream'])) { $options['data'] =& $options['stream']; unset($options['stream']);
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs