index.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * Laravel - A PHP Framework For Web Artisans
  4. *
  5. * @package Laravel
  6. * @version 3.1.9
  7. * @author Taylor Otwell <taylorotwell@gmail.com>
  8. * @link http://laravel.com
  9. */
  10. // --------------------------------------------------------------
  11. // Tick... Tock... Tick... Tock...
  12. // --------------------------------------------------------------
  13. define('LARAVEL_START', microtime(true));
  14. // --------------------------------------------------------------
  15. // Indicate that the request is from the web.
  16. // --------------------------------------------------------------
  17. $web = true;
  18. // --------------------------------------------------------------
  19. // Set the core Laravel path constants.
  20. // --------------------------------------------------------------
  21. require '../paths.php';
  22. // --------------------------------------------------------------
  23. // Unset the temporary web variable.
  24. // --------------------------------------------------------------
  25. unset($web);
  26. // --------------------------------------------------------------
  27. // Launch Laravel.
  28. // --------------------------------------------------------------
  29. require path('sys').'laravel.php';