diff --git a/phpgwapi/inc/class.links_stream_wrapper.inc.php b/phpgwapi/inc/class.links_stream_wrapper.inc.php index fc538568b4..1581b90a93 100644 --- a/phpgwapi/inc/class.links_stream_wrapper.inc.php +++ b/phpgwapi/inc/class.links_stream_wrapper.inc.php @@ -7,10 +7,20 @@ * @package api * @subpackage vfs * @author Ralf Becker - * @copyright (c) 2008-9 by Ralf Becker + * @copyright (c) 2008-10 by Ralf Becker * @version $Id: class.sqlfs_stream_wrapper.inc.php 24997 2008-03-02 21:44:15Z ralfbecker $ */ +/** + * Define parent for links_stream_wrapper, if not already defined + * + * Allows to base links_stream_wrapper on an other wrapper + */ +if (!class_exists('links_stream_wrapper_parent',false)) +{ + class links_stream_wrapper_parent extends sqlfs_stream_wrapper {} +} + /** * eGroupWare API: stream wrapper for linked files * @@ -30,7 +40,7 @@ * * @link http://www.php.net/manual/en/function.stream-wrapper-register.php */ -class links_stream_wrapper extends sqlfs_stream_wrapper +class links_stream_wrapper extends links_stream_wrapper_parent { /** * Scheme / protocoll used for this stream-wrapper