Merge pull request #3581 from owncloud/publicphp_maintenance

public.php - check if maintenance mode is enabled
This commit is contained in:
Jörn Friedrich Dreyer 2013-06-03 11:26:56 -07:00
commit 1f8e92019e
1 changed files with 1 additions and 0 deletions

View File

@ -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;