Skip to content

Instantly share code, notes, and snippets.

@gopalindians
Created September 7, 2019 01:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gopalindians/465ad37989a609bbfa43e72134226584 to your computer and use it in GitHub Desktop.
Save gopalindians/465ad37989a609bbfa43e72134226584 to your computer and use it in GitHub Desktop.
Updated index.php file for shared hosting
<?php
define('LARAVEL_START', microtime(true));
require __DIR__.'/../hero_app_2056102019/vendor/autoload.php';
$app = require_once __DIR__.'/../hero_app_2056102019/bootstrap/app.php';
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment