artisan 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. /**
  3. * Laravel (CLI) - A Command Line For Web Artisans
  4. *
  5. * @package Laravel
  6. * @version 2.2.0 (Beta 1)
  7. * @author Taylor Otwell <taylorotwell@gmail.com>
  8. * @link http://laravel.com
  9. */
  10. // --------------------------------------------------------------
  11. // Define the directory separator for the environment.
  12. // --------------------------------------------------------------
  13. define('DS', DIRECTORY_SEPARATOR);
  14. // --------------------------------------------------------------
  15. // The path to the application directory.
  16. // --------------------------------------------------------------
  17. define('APP_PATH', realpath('application').'/');
  18. // --------------------------------------------------------------
  19. // The path to the bundles directory.
  20. // --------------------------------------------------------------
  21. define('BUNDLE_PATH', realpath('bundles').'/');
  22. // --------------------------------------------------------------
  23. // The path to the storage directory.
  24. // --------------------------------------------------------------
  25. define('STORAGE_PATH', realpath('storage').'/');
  26. // --------------------------------------------------------------
  27. // The path to the Laravel directory.
  28. // --------------------------------------------------------------
  29. define('SYS_PATH', realpath('laravel').'/');
  30. // --------------------------------------------------------------
  31. // The path to the public directory.
  32. // --------------------------------------------------------------
  33. define('PUBLIC_PATH', realpath('public').'/');
  34. // --------------------------------------------------------------
  35. // Bootstrap the Laravel core.
  36. // --------------------------------------------------------------
  37. require SYS_PATH.'core.php';
  38. // --------------------------------------------------------------
  39. // Launch the Laravel "Artisan" CLI.
  40. // --------------------------------------------------------------
  41. require SYS_PATH.'cli/artisan'.EXT;