Spaces:
Running
Running
Update public/index.php
Browse files- public/index.php +4 -4
public/index.php
CHANGED
|
@@ -2,13 +2,13 @@
|
|
| 2 |
|
| 3 |
echo "hello";
|
| 4 |
|
| 5 |
-
|
| 6 |
use Illuminate\Contracts\Http\Kernel;
|
| 7 |
use Illuminate\Http\Request;
|
| 8 |
|
| 9 |
define('LARAVEL_START', microtime(true));
|
| 10 |
|
| 11 |
-
|
| 12 |
|--------------------------------------------------------------------------
|
| 13 |
| Check If The Application Is Under Maintenance
|
| 14 |
|--------------------------------------------------------------------------
|
|
@@ -17,7 +17,7 @@ define('LARAVEL_START', microtime(true));
|
|
| 17 |
| we will load this file so that any pre-rendered content can be shown
|
| 18 |
| instead of starting the framework, which could cause an exception.
|
| 19 |
|
|
| 20 |
-
|
| 21 |
|
| 22 |
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
|
| 23 |
require $maintenance;
|
|
@@ -56,4 +56,4 @@ $response = $kernel->handle(
|
|
| 56 |
)->send();
|
| 57 |
|
| 58 |
$kernel->terminate($request, $response);
|
| 59 |
-
|
|
|
|
| 2 |
|
| 3 |
echo "hello";
|
| 4 |
|
| 5 |
+
|
| 6 |
use Illuminate\Contracts\Http\Kernel;
|
| 7 |
use Illuminate\Http\Request;
|
| 8 |
|
| 9 |
define('LARAVEL_START', microtime(true));
|
| 10 |
|
| 11 |
+
/*
|
| 12 |
|--------------------------------------------------------------------------
|
| 13 |
| Check If The Application Is Under Maintenance
|
| 14 |
|--------------------------------------------------------------------------
|
|
|
|
| 17 |
| we will load this file so that any pre-rendered content can be shown
|
| 18 |
| instead of starting the framework, which could cause an exception.
|
| 19 |
|
|
| 20 |
+
*/
|
| 21 |
|
| 22 |
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
|
| 23 |
require $maintenance;
|
|
|
|
| 56 |
)->send();
|
| 57 |
|
| 58 |
$kernel->terminate($request, $response);
|
| 59 |
+
|