Merge pull request #3581 from owncloud/publicphp_maintenance
public.php - check if maintenance mode is enabled
This commit is contained in:
commit
1f8e92019e
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
$RUNTIME_NOAPPS = true;
|
||||
require_once 'lib/base.php';
|
||||
OC::checkMaintenanceMode();
|
||||
if (!isset($_GET['service'])) {
|
||||
header('HTTP/1.0 404 Not Found');
|
||||
exit;
|
||||
|
|
Loading…
Reference in New Issue