This repository has been archived on 2021-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
ModuleWeb/SRC/public/index.php

58 lines
1.7 KiB
PHP
Raw Normal View History

new file: SRC/.bash_history new file: SRC/.gitattributes new file: SRC/.gitignore new file: SRC/CONTRIBUTING.md new file: SRC/app/commands/.gitkeep new file: SRC/app/config/app.php new file: SRC/app/config/auth.php new file: SRC/app/config/cache.php new file: SRC/app/config/compile.php new file: SRC/app/config/database.php new file: SRC/app/config/local/app.php new file: SRC/app/config/local/database.php new file: SRC/app/config/mail.php new file: SRC/app/config/packages/.gitkeep new file: SRC/app/config/queue.php new file: SRC/app/config/remote.php new file: SRC/app/config/services.php new file: SRC/app/config/session.php new file: SRC/app/config/testing/cache.php new file: SRC/app/config/testing/session.php new file: SRC/app/config/view.php new file: SRC/app/config/workbench.php new file: SRC/app/controllers/.gitkeep new file: SRC/app/controllers/BaseController.php new file: SRC/app/controllers/HomeController.php new file: SRC/app/database/.gitignore new file: SRC/app/database/migrations/.gitkeep new file: SRC/app/database/seeds/.gitkeep new file: SRC/app/database/seeds/DatabaseSeeder.php new file: SRC/app/filters.php new file: SRC/app/lang/en/pagination.php new file: SRC/app/lang/en/reminders.php new file: SRC/app/lang/en/validation.php new file: SRC/app/models/User.php new file: SRC/app/routes.php new file: SRC/app/start/artisan.php new file: SRC/app/start/global.php new file: SRC/app/start/local.php new file: SRC/app/storage/.gitignore new file: SRC/app/storage/cache/.gitignore new file: SRC/app/storage/logs/.gitignore new file: SRC/app/storage/meta/.gitignore new file: SRC/app/storage/sessions/.gitignore new file: SRC/app/storage/views/.gitignore new file: SRC/app/tests/ExampleTest.php new file: SRC/app/tests/TestCase.php new file: SRC/app/views/emails/auth/reminder.blade.php new file: SRC/app/views/hello.php new file: SRC/artisan new file: SRC/bootstrap/autoload.php new file: SRC/bootstrap/paths.php new file: SRC/bootstrap/start.php new file: SRC/composer.json new file: SRC/phpunit.xml new file: SRC/public/.htaccess new file: SRC/public/favicon.ico new file: SRC/public/home.jpg new file: SRC/public/home.png new file: SRC/public/index.php new file: SRC/public/packages/.gitkeep new file: SRC/public/robots.txt new file: SRC/readme.md new file: SRC/server.php
2015-02-03 16:04:12 +00:00
<?php
/**
2015-02-12 12:56:47 +00:00
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylorotwell@gmail.com>
*/
new file: SRC/.bash_history new file: SRC/.gitattributes new file: SRC/.gitignore new file: SRC/CONTRIBUTING.md new file: SRC/app/commands/.gitkeep new file: SRC/app/config/app.php new file: SRC/app/config/auth.php new file: SRC/app/config/cache.php new file: SRC/app/config/compile.php new file: SRC/app/config/database.php new file: SRC/app/config/local/app.php new file: SRC/app/config/local/database.php new file: SRC/app/config/mail.php new file: SRC/app/config/packages/.gitkeep new file: SRC/app/config/queue.php new file: SRC/app/config/remote.php new file: SRC/app/config/services.php new file: SRC/app/config/session.php new file: SRC/app/config/testing/cache.php new file: SRC/app/config/testing/session.php new file: SRC/app/config/view.php new file: SRC/app/config/workbench.php new file: SRC/app/controllers/.gitkeep new file: SRC/app/controllers/BaseController.php new file: SRC/app/controllers/HomeController.php new file: SRC/app/database/.gitignore new file: SRC/app/database/migrations/.gitkeep new file: SRC/app/database/seeds/.gitkeep new file: SRC/app/database/seeds/DatabaseSeeder.php new file: SRC/app/filters.php new file: SRC/app/lang/en/pagination.php new file: SRC/app/lang/en/reminders.php new file: SRC/app/lang/en/validation.php new file: SRC/app/models/User.php new file: SRC/app/routes.php new file: SRC/app/start/artisan.php new file: SRC/app/start/global.php new file: SRC/app/start/local.php new file: SRC/app/storage/.gitignore new file: SRC/app/storage/cache/.gitignore new file: SRC/app/storage/logs/.gitignore new file: SRC/app/storage/meta/.gitignore new file: SRC/app/storage/sessions/.gitignore new file: SRC/app/storage/views/.gitignore new file: SRC/app/tests/ExampleTest.php new file: SRC/app/tests/TestCase.php new file: SRC/app/views/emails/auth/reminder.blade.php new file: SRC/app/views/hello.php new file: SRC/artisan new file: SRC/bootstrap/autoload.php new file: SRC/bootstrap/paths.php new file: SRC/bootstrap/start.php new file: SRC/composer.json new file: SRC/phpunit.xml new file: SRC/public/.htaccess new file: SRC/public/favicon.ico new file: SRC/public/home.jpg new file: SRC/public/home.png new file: SRC/public/index.php new file: SRC/public/packages/.gitkeep new file: SRC/public/robots.txt new file: SRC/readme.md new file: SRC/server.php
2015-02-03 16:04:12 +00:00
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
2015-02-12 12:56:47 +00:00
| Composer provides a convenient, automatically generated class loader for
| our application. We just need to utilize it! We'll simply require it
| into the script here so that we don't have to worry about manual
| loading any of our classes later on. It feels nice to relax.
new file: SRC/.bash_history new file: SRC/.gitattributes new file: SRC/.gitignore new file: SRC/CONTRIBUTING.md new file: SRC/app/commands/.gitkeep new file: SRC/app/config/app.php new file: SRC/app/config/auth.php new file: SRC/app/config/cache.php new file: SRC/app/config/compile.php new file: SRC/app/config/database.php new file: SRC/app/config/local/app.php new file: SRC/app/config/local/database.php new file: SRC/app/config/mail.php new file: SRC/app/config/packages/.gitkeep new file: SRC/app/config/queue.php new file: SRC/app/config/remote.php new file: SRC/app/config/services.php new file: SRC/app/config/session.php new file: SRC/app/config/testing/cache.php new file: SRC/app/config/testing/session.php new file: SRC/app/config/view.php new file: SRC/app/config/workbench.php new file: SRC/app/controllers/.gitkeep new file: SRC/app/controllers/BaseController.php new file: SRC/app/controllers/HomeController.php new file: SRC/app/database/.gitignore new file: SRC/app/database/migrations/.gitkeep new file: SRC/app/database/seeds/.gitkeep new file: SRC/app/database/seeds/DatabaseSeeder.php new file: SRC/app/filters.php new file: SRC/app/lang/en/pagination.php new file: SRC/app/lang/en/reminders.php new file: SRC/app/lang/en/validation.php new file: SRC/app/models/User.php new file: SRC/app/routes.php new file: SRC/app/start/artisan.php new file: SRC/app/start/global.php new file: SRC/app/start/local.php new file: SRC/app/storage/.gitignore new file: SRC/app/storage/cache/.gitignore new file: SRC/app/storage/logs/.gitignore new file: SRC/app/storage/meta/.gitignore new file: SRC/app/storage/sessions/.gitignore new file: SRC/app/storage/views/.gitignore new file: SRC/app/tests/ExampleTest.php new file: SRC/app/tests/TestCase.php new file: SRC/app/views/emails/auth/reminder.blade.php new file: SRC/app/views/hello.php new file: SRC/artisan new file: SRC/bootstrap/autoload.php new file: SRC/bootstrap/paths.php new file: SRC/bootstrap/start.php new file: SRC/composer.json new file: SRC/phpunit.xml new file: SRC/public/.htaccess new file: SRC/public/favicon.ico new file: SRC/public/home.jpg new file: SRC/public/home.png new file: SRC/public/index.php new file: SRC/public/packages/.gitkeep new file: SRC/public/robots.txt new file: SRC/readme.md new file: SRC/server.php
2015-02-03 16:04:12 +00:00
|
*/
2015-02-12 12:56:47 +00:00
new file: SRC/.bash_history new file: SRC/.gitattributes new file: SRC/.gitignore new file: SRC/CONTRIBUTING.md new file: SRC/app/commands/.gitkeep new file: SRC/app/config/app.php new file: SRC/app/config/auth.php new file: SRC/app/config/cache.php new file: SRC/app/config/compile.php new file: SRC/app/config/database.php new file: SRC/app/config/local/app.php new file: SRC/app/config/local/database.php new file: SRC/app/config/mail.php new file: SRC/app/config/packages/.gitkeep new file: SRC/app/config/queue.php new file: SRC/app/config/remote.php new file: SRC/app/config/services.php new file: SRC/app/config/session.php new file: SRC/app/config/testing/cache.php new file: SRC/app/config/testing/session.php new file: SRC/app/config/view.php new file: SRC/app/config/workbench.php new file: SRC/app/controllers/.gitkeep new file: SRC/app/controllers/BaseController.php new file: SRC/app/controllers/HomeController.php new file: SRC/app/database/.gitignore new file: SRC/app/database/migrations/.gitkeep new file: SRC/app/database/seeds/.gitkeep new file: SRC/app/database/seeds/DatabaseSeeder.php new file: SRC/app/filters.php new file: SRC/app/lang/en/pagination.php new file: SRC/app/lang/en/reminders.php new file: SRC/app/lang/en/validation.php new file: SRC/app/models/User.php new file: SRC/app/routes.php new file: SRC/app/start/artisan.php new file: SRC/app/start/global.php new file: SRC/app/start/local.php new file: SRC/app/storage/.gitignore new file: SRC/app/storage/cache/.gitignore new file: SRC/app/storage/logs/.gitignore new file: SRC/app/storage/meta/.gitignore new file: SRC/app/storage/sessions/.gitignore new file: SRC/app/storage/views/.gitignore new file: SRC/app/tests/ExampleTest.php new file: SRC/app/tests/TestCase.php new file: SRC/app/views/emails/auth/reminder.blade.php new file: SRC/app/views/hello.php new file: SRC/artisan new file: SRC/bootstrap/autoload.php new file: SRC/bootstrap/paths.php new file: SRC/bootstrap/start.php new file: SRC/composer.json new file: SRC/phpunit.xml new file: SRC/public/.htaccess new file: SRC/public/favicon.ico new file: SRC/public/home.jpg new file: SRC/public/home.png new file: SRC/public/index.php new file: SRC/public/packages/.gitkeep new file: SRC/public/robots.txt new file: SRC/readme.md new file: SRC/server.php
2015-02-03 16:04:12 +00:00
require __DIR__.'/../bootstrap/autoload.php';
2015-02-12 12:56:47 +00:00
new file: SRC/.bash_history new file: SRC/.gitattributes new file: SRC/.gitignore new file: SRC/CONTRIBUTING.md new file: SRC/app/commands/.gitkeep new file: SRC/app/config/app.php new file: SRC/app/config/auth.php new file: SRC/app/config/cache.php new file: SRC/app/config/compile.php new file: SRC/app/config/database.php new file: SRC/app/config/local/app.php new file: SRC/app/config/local/database.php new file: SRC/app/config/mail.php new file: SRC/app/config/packages/.gitkeep new file: SRC/app/config/queue.php new file: SRC/app/config/remote.php new file: SRC/app/config/services.php new file: SRC/app/config/session.php new file: SRC/app/config/testing/cache.php new file: SRC/app/config/testing/session.php new file: SRC/app/config/view.php new file: SRC/app/config/workbench.php new file: SRC/app/controllers/.gitkeep new file: SRC/app/controllers/BaseController.php new file: SRC/app/controllers/HomeController.php new file: SRC/app/database/.gitignore new file: SRC/app/database/migrations/.gitkeep new file: SRC/app/database/seeds/.gitkeep new file: SRC/app/database/seeds/DatabaseSeeder.php new file: SRC/app/filters.php new file: SRC/app/lang/en/pagination.php new file: SRC/app/lang/en/reminders.php new file: SRC/app/lang/en/validation.php new file: SRC/app/models/User.php new file: SRC/app/routes.php new file: SRC/app/start/artisan.php new file: SRC/app/start/global.php new file: SRC/app/start/local.php new file: SRC/app/storage/.gitignore new file: SRC/app/storage/cache/.gitignore new file: SRC/app/storage/logs/.gitignore new file: SRC/app/storage/meta/.gitignore new file: SRC/app/storage/sessions/.gitignore new file: SRC/app/storage/views/.gitignore new file: SRC/app/tests/ExampleTest.php new file: SRC/app/tests/TestCase.php new file: SRC/app/views/emails/auth/reminder.blade.php new file: SRC/app/views/hello.php new file: SRC/artisan new file: SRC/bootstrap/autoload.php new file: SRC/bootstrap/paths.php new file: SRC/bootstrap/start.php new file: SRC/composer.json new file: SRC/phpunit.xml new file: SRC/public/.htaccess new file: SRC/public/favicon.ico new file: SRC/public/home.jpg new file: SRC/public/home.png new file: SRC/public/index.php new file: SRC/public/packages/.gitkeep new file: SRC/public/robots.txt new file: SRC/readme.md new file: SRC/server.php
2015-02-03 16:04:12 +00:00
/*
|--------------------------------------------------------------------------
| Turn On The Lights
|--------------------------------------------------------------------------
|
2015-02-12 12:56:47 +00:00
| We need to illuminate PHP development, so let us turn on the lights.
new file: SRC/.bash_history new file: SRC/.gitattributes new file: SRC/.gitignore new file: SRC/CONTRIBUTING.md new file: SRC/app/commands/.gitkeep new file: SRC/app/config/app.php new file: SRC/app/config/auth.php new file: SRC/app/config/cache.php new file: SRC/app/config/compile.php new file: SRC/app/config/database.php new file: SRC/app/config/local/app.php new file: SRC/app/config/local/database.php new file: SRC/app/config/mail.php new file: SRC/app/config/packages/.gitkeep new file: SRC/app/config/queue.php new file: SRC/app/config/remote.php new file: SRC/app/config/services.php new file: SRC/app/config/session.php new file: SRC/app/config/testing/cache.php new file: SRC/app/config/testing/session.php new file: SRC/app/config/view.php new file: SRC/app/config/workbench.php new file: SRC/app/controllers/.gitkeep new file: SRC/app/controllers/BaseController.php new file: SRC/app/controllers/HomeController.php new file: SRC/app/database/.gitignore new file: SRC/app/database/migrations/.gitkeep new file: SRC/app/database/seeds/.gitkeep new file: SRC/app/database/seeds/DatabaseSeeder.php new file: SRC/app/filters.php new file: SRC/app/lang/en/pagination.php new file: SRC/app/lang/en/reminders.php new file: SRC/app/lang/en/validation.php new file: SRC/app/models/User.php new file: SRC/app/routes.php new file: SRC/app/start/artisan.php new file: SRC/app/start/global.php new file: SRC/app/start/local.php new file: SRC/app/storage/.gitignore new file: SRC/app/storage/cache/.gitignore new file: SRC/app/storage/logs/.gitignore new file: SRC/app/storage/meta/.gitignore new file: SRC/app/storage/sessions/.gitignore new file: SRC/app/storage/views/.gitignore new file: SRC/app/tests/ExampleTest.php new file: SRC/app/tests/TestCase.php new file: SRC/app/views/emails/auth/reminder.blade.php new file: SRC/app/views/hello.php new file: SRC/artisan new file: SRC/bootstrap/autoload.php new file: SRC/bootstrap/paths.php new file: SRC/bootstrap/start.php new file: SRC/composer.json new file: SRC/phpunit.xml new file: SRC/public/.htaccess new file: SRC/public/favicon.ico new file: SRC/public/home.jpg new file: SRC/public/home.png new file: SRC/public/index.php new file: SRC/public/packages/.gitkeep new file: SRC/public/robots.txt new file: SRC/readme.md new file: SRC/server.php
2015-02-03 16:04:12 +00:00
| This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send
2015-02-12 12:56:47 +00:00
| the responses back to the browser and delight our users.
new file: SRC/.bash_history new file: SRC/.gitattributes new file: SRC/.gitignore new file: SRC/CONTRIBUTING.md new file: SRC/app/commands/.gitkeep new file: SRC/app/config/app.php new file: SRC/app/config/auth.php new file: SRC/app/config/cache.php new file: SRC/app/config/compile.php new file: SRC/app/config/database.php new file: SRC/app/config/local/app.php new file: SRC/app/config/local/database.php new file: SRC/app/config/mail.php new file: SRC/app/config/packages/.gitkeep new file: SRC/app/config/queue.php new file: SRC/app/config/remote.php new file: SRC/app/config/services.php new file: SRC/app/config/session.php new file: SRC/app/config/testing/cache.php new file: SRC/app/config/testing/session.php new file: SRC/app/config/view.php new file: SRC/app/config/workbench.php new file: SRC/app/controllers/.gitkeep new file: SRC/app/controllers/BaseController.php new file: SRC/app/controllers/HomeController.php new file: SRC/app/database/.gitignore new file: SRC/app/database/migrations/.gitkeep new file: SRC/app/database/seeds/.gitkeep new file: SRC/app/database/seeds/DatabaseSeeder.php new file: SRC/app/filters.php new file: SRC/app/lang/en/pagination.php new file: SRC/app/lang/en/reminders.php new file: SRC/app/lang/en/validation.php new file: SRC/app/models/User.php new file: SRC/app/routes.php new file: SRC/app/start/artisan.php new file: SRC/app/start/global.php new file: SRC/app/start/local.php new file: SRC/app/storage/.gitignore new file: SRC/app/storage/cache/.gitignore new file: SRC/app/storage/logs/.gitignore new file: SRC/app/storage/meta/.gitignore new file: SRC/app/storage/sessions/.gitignore new file: SRC/app/storage/views/.gitignore new file: SRC/app/tests/ExampleTest.php new file: SRC/app/tests/TestCase.php new file: SRC/app/views/emails/auth/reminder.blade.php new file: SRC/app/views/hello.php new file: SRC/artisan new file: SRC/bootstrap/autoload.php new file: SRC/bootstrap/paths.php new file: SRC/bootstrap/start.php new file: SRC/composer.json new file: SRC/phpunit.xml new file: SRC/public/.htaccess new file: SRC/public/favicon.ico new file: SRC/public/home.jpg new file: SRC/public/home.png new file: SRC/public/index.php new file: SRC/public/packages/.gitkeep new file: SRC/public/robots.txt new file: SRC/readme.md new file: SRC/server.php
2015-02-03 16:04:12 +00:00
|
*/
2015-02-12 12:56:47 +00:00
$app = require_once __DIR__.'/../bootstrap/app.php';
new file: SRC/.bash_history new file: SRC/.gitattributes new file: SRC/.gitignore new file: SRC/CONTRIBUTING.md new file: SRC/app/commands/.gitkeep new file: SRC/app/config/app.php new file: SRC/app/config/auth.php new file: SRC/app/config/cache.php new file: SRC/app/config/compile.php new file: SRC/app/config/database.php new file: SRC/app/config/local/app.php new file: SRC/app/config/local/database.php new file: SRC/app/config/mail.php new file: SRC/app/config/packages/.gitkeep new file: SRC/app/config/queue.php new file: SRC/app/config/remote.php new file: SRC/app/config/services.php new file: SRC/app/config/session.php new file: SRC/app/config/testing/cache.php new file: SRC/app/config/testing/session.php new file: SRC/app/config/view.php new file: SRC/app/config/workbench.php new file: SRC/app/controllers/.gitkeep new file: SRC/app/controllers/BaseController.php new file: SRC/app/controllers/HomeController.php new file: SRC/app/database/.gitignore new file: SRC/app/database/migrations/.gitkeep new file: SRC/app/database/seeds/.gitkeep new file: SRC/app/database/seeds/DatabaseSeeder.php new file: SRC/app/filters.php new file: SRC/app/lang/en/pagination.php new file: SRC/app/lang/en/reminders.php new file: SRC/app/lang/en/validation.php new file: SRC/app/models/User.php new file: SRC/app/routes.php new file: SRC/app/start/artisan.php new file: SRC/app/start/global.php new file: SRC/app/start/local.php new file: SRC/app/storage/.gitignore new file: SRC/app/storage/cache/.gitignore new file: SRC/app/storage/logs/.gitignore new file: SRC/app/storage/meta/.gitignore new file: SRC/app/storage/sessions/.gitignore new file: SRC/app/storage/views/.gitignore new file: SRC/app/tests/ExampleTest.php new file: SRC/app/tests/TestCase.php new file: SRC/app/views/emails/auth/reminder.blade.php new file: SRC/app/views/hello.php new file: SRC/artisan new file: SRC/bootstrap/autoload.php new file: SRC/bootstrap/paths.php new file: SRC/bootstrap/start.php new file: SRC/composer.json new file: SRC/phpunit.xml new file: SRC/public/.htaccess new file: SRC/public/favicon.ico new file: SRC/public/home.jpg new file: SRC/public/home.png new file: SRC/public/index.php new file: SRC/public/packages/.gitkeep new file: SRC/public/robots.txt new file: SRC/readme.md new file: SRC/server.php
2015-02-03 16:04:12 +00:00
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can simply call the run method,
| which will execute the request and send the response back to
| the client's browser allowing them to enjoy the creative
2015-02-12 12:56:47 +00:00
| and wonderful application we have prepared for them.
new file: SRC/.bash_history new file: SRC/.gitattributes new file: SRC/.gitignore new file: SRC/CONTRIBUTING.md new file: SRC/app/commands/.gitkeep new file: SRC/app/config/app.php new file: SRC/app/config/auth.php new file: SRC/app/config/cache.php new file: SRC/app/config/compile.php new file: SRC/app/config/database.php new file: SRC/app/config/local/app.php new file: SRC/app/config/local/database.php new file: SRC/app/config/mail.php new file: SRC/app/config/packages/.gitkeep new file: SRC/app/config/queue.php new file: SRC/app/config/remote.php new file: SRC/app/config/services.php new file: SRC/app/config/session.php new file: SRC/app/config/testing/cache.php new file: SRC/app/config/testing/session.php new file: SRC/app/config/view.php new file: SRC/app/config/workbench.php new file: SRC/app/controllers/.gitkeep new file: SRC/app/controllers/BaseController.php new file: SRC/app/controllers/HomeController.php new file: SRC/app/database/.gitignore new file: SRC/app/database/migrations/.gitkeep new file: SRC/app/database/seeds/.gitkeep new file: SRC/app/database/seeds/DatabaseSeeder.php new file: SRC/app/filters.php new file: SRC/app/lang/en/pagination.php new file: SRC/app/lang/en/reminders.php new file: SRC/app/lang/en/validation.php new file: SRC/app/models/User.php new file: SRC/app/routes.php new file: SRC/app/start/artisan.php new file: SRC/app/start/global.php new file: SRC/app/start/local.php new file: SRC/app/storage/.gitignore new file: SRC/app/storage/cache/.gitignore new file: SRC/app/storage/logs/.gitignore new file: SRC/app/storage/meta/.gitignore new file: SRC/app/storage/sessions/.gitignore new file: SRC/app/storage/views/.gitignore new file: SRC/app/tests/ExampleTest.php new file: SRC/app/tests/TestCase.php new file: SRC/app/views/emails/auth/reminder.blade.php new file: SRC/app/views/hello.php new file: SRC/artisan new file: SRC/bootstrap/autoload.php new file: SRC/bootstrap/paths.php new file: SRC/bootstrap/start.php new file: SRC/composer.json new file: SRC/phpunit.xml new file: SRC/public/.htaccess new file: SRC/public/favicon.ico new file: SRC/public/home.jpg new file: SRC/public/home.png new file: SRC/public/index.php new file: SRC/public/packages/.gitkeep new file: SRC/public/robots.txt new file: SRC/readme.md new file: SRC/server.php
2015-02-03 16:04:12 +00:00
|
*/
2015-02-12 12:56:47 +00:00
$kernel = $app->make('Illuminate\Contracts\Http\Kernel');
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);