From b945964ce3f0fa36150e89b163203442f45d1b58 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 30 May 2018 09:39:17 -0600 Subject: [PATCH] Use API base Sharing class instead of VFS one --- share.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/share.php b/share.php index 6368378b19..0f0af4c872 100644 --- a/share.php +++ b/share.php @@ -10,17 +10,17 @@ * @version $Id$ */ -require_once(__DIR__.'/api/src/Vfs/Sharing.php'); +require_once(__DIR__.'/api/src/Sharing.php'); -use EGroupware\Api\Vfs\Sharing; +use EGroupware\Api\Sharing; $GLOBALS['egw_info'] = array( 'flags' => array( 'disable_Template_class' => true, 'noheader' => true, 'nonavbar' => 'always', // true would cause eTemplate to reset it to false for non-popups! - 'currentapp' => 'filemanager', - 'autocreate_session_callback' => 'EGroupware\\Api\\Vfs\\Sharing::create_session', + 'currentapp' => 'api', + 'autocreate_session_callback' => 'EGroupware\\Api\\Sharing::create_session', 'no_exception_handler' => 'basic_auth', // we use a basic auth exception handler (sends exception message as basic auth realm) ) );