-
Notifications
You must be signed in to change notification settings - Fork 98
/
status.php
35 lines (34 loc) · 994 Bytes
/
status.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
/**
* FileManger - WebDAV access for ownCloud clients
*
* ownCloud clients require this url to return some json encoded properties
*
* @link http://owncloud.org/sync-clients/
* @link http://www.egroupware.org
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @package api
* @subpackage vfs
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @copyright (c) 2006-12 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @version $Id$
*/
// forward for not existing or empty header to setup
if(!file_exists('header.inc.php') || !filesize('header.inc.php'))
{
Header('Location: setup/index.php');
exit;
}
$GLOBALS['egw_info'] = array(
'flags' => array(
'currentapp' => 'login',
'noheader' => True,
)
);
include 'header.inc.php';
echo json_encode(array(
'installed' => 'true',
'version' => '4.80.1',
'versionstring' => 'EGroupware '.$GLOBALS['egw_info']['server']['versions']['phpgwapi'],
'edition' => '',
));