catch auth exceptions
This commit is contained in:
parent
d5bf53c54c
commit
fdfea0a8e9
@ -80,9 +80,14 @@ function cloud_init(&$a) {
|
||||
$server->addPlugin($lockPlugin);
|
||||
|
||||
|
||||
if(! $auth->observer)
|
||||
if(! $auth->observer) {
|
||||
try {
|
||||
$auth->Authenticate($server,'Red Matrix');
|
||||
}
|
||||
catch ( Exception $e) {
|
||||
|
||||
}
|
||||
}
|
||||
// $browser = new DAV\Browser\Plugin();
|
||||
|
||||
$browser = new RedBrowser($auth);
|
||||
|
@ -1 +1 @@
|
||||
2014-01-19.562
|
||||
2014-01-20.563
|
||||
|
Reference in New Issue
Block a user