forked from extern/egroupware
new ajax_submit() function with submitts the whole form via ajax to a given callback
This commit is contained in:
parent
7f976bd883
commit
76caa7db75
21
webdav.php
21
webdav.php
@ -68,8 +68,25 @@ $GLOBALS['egw_info'] = array(
|
||||
)
|
||||
);
|
||||
// if you move this file somewhere else, you need to adapt the path to the header!
|
||||
include(dirname(__FILE__).'/header.inc.php');
|
||||
|
||||
try
|
||||
{
|
||||
include(dirname(__FILE__).'/header.inc.php');
|
||||
}
|
||||
catch (egw_exception_no_permission_app $e)
|
||||
{
|
||||
if (isset($GLOBALS['egw_info']['user']['apps']['filemanager']))
|
||||
{
|
||||
$GLOBALS['egw_info']['currentapp'] = 'filemanager';
|
||||
}
|
||||
elseif (isset($GLOBALS['egw_info']['user']['apps']['sitemgr-site']))
|
||||
{
|
||||
$GLOBALS['egw_info']['currentapp'] = 'sitemgr-site';
|
||||
}
|
||||
else
|
||||
{
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
$headertime = microtime(true);
|
||||
|
||||
$webdav_server = new vfs_webdav_server();
|
||||
|
Loading…
Reference in New Issue
Block a user