forked from extern/egroupware
Use API base Sharing class instead of VFS one
This commit is contained in:
parent
d0a50d8d45
commit
b945964ce3
@ -10,17 +10,17 @@
|
|||||||
* @version $Id$
|
* @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(
|
$GLOBALS['egw_info'] = array(
|
||||||
'flags' => array(
|
'flags' => array(
|
||||||
'disable_Template_class' => true,
|
'disable_Template_class' => true,
|
||||||
'noheader' => true,
|
'noheader' => true,
|
||||||
'nonavbar' => 'always', // true would cause eTemplate to reset it to false for non-popups!
|
'nonavbar' => 'always', // true would cause eTemplate to reset it to false for non-popups!
|
||||||
'currentapp' => 'filemanager',
|
'currentapp' => 'api',
|
||||||
'autocreate_session_callback' => 'EGroupware\\Api\\Vfs\\Sharing::create_session',
|
'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)
|
'no_exception_handler' => 'basic_auth', // we use a basic auth exception handler (sends exception message as basic auth realm)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user