Nav apraksta

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. /**
  3. * Laravel - A PHP Framework For Web Artisans
  4. *
  5. * @package Laravel
  6. * @author Taylor Otwell <taylorotwell@gmail.com>
  7. */
  8. /*
  9. |--------------------------------------------------------------------------
  10. | Register The Auto Loader
  11. |--------------------------------------------------------------------------
  12. |
  13. | Composer provides a convenient, automatically generated class loader
  14. | for our application. We just need to utilize it! We'll require it
  15. | into the script here so that we do not have to worry about the
  16. | loading of any our classes "manually". Feels great to relax.
  17. |
  18. */
  19. require __DIR__.'/../bootstrap/autoload.php';
  20. /*
  21. |--------------------------------------------------------------------------
  22. | Turn On The Lights
  23. |--------------------------------------------------------------------------
  24. |
  25. | We need to illuminate PHP development, so let's turn on the lights.
  26. | This bootstraps the framework and gets it ready for use, then it
  27. | will load up this application so that we can run it and send
  28. | the responses back to the browser and delight these users.
  29. |
  30. */
  31. $app = require_once __DIR__.'/../bootstrap/start.php';
  32. /*
  33. |--------------------------------------------------------------------------
  34. | Run The Application
  35. |--------------------------------------------------------------------------
  36. |
  37. | Once we have the application, we can simply call the run method,
  38. | which will execute the request and send the response back to
  39. | the client's browser allowing them to enjoy the creative
  40. | and wonderful application we have whipped up for them.
  41. |
  42. */
  43. $app->run();