Permalink
Browse files

.maintenance.php -> 503.phtml

  • Loading branch information...
dg committed Jun 5, 2017
1 parent ca64e11 commit f2acaa7cb28d3768aeb43fe4730838738f733d4e
Showing with 2 additions and 8 deletions.
  1. +0 −4 www/.maintenance.php → app/presenters/templates/Error/503.phtml
  2. +2 −4 www/index.php
@@ -22,7 +22,3 @@
<h1>We're Sorry</h1>

<p>The site is temporarily down for maintenance. Please try again in a few minutes.</p>

<?php
exit;
@@ -2,9 +2,7 @@
declare(strict_types=1);
// Uncomment this line if you must temporarily take down your site for maintenance.
// require __DIR__ . '/.maintenance.php';
$container = require __DIR__ . '/../app/bootstrap.php';
$container->getByType(Nette\Application\Application::class)->run();
$container->getByType(Nette\Application\Application::class)
->run();

0 comments on commit f2acaa7

Please sign in to comment.