Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

autoload.php 1.1KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. define('LARAVEL_START', microtime(true));
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Register The Composer Auto Loader
  6. |--------------------------------------------------------------------------
  7. |
  8. | Composer provides a convenient, automatically generated class loader
  9. | for our application. We just need to utilize it! We'll require it
  10. | into the script here so that we do not have to worry about the
  11. | loading of any our classes "manually". Feels great to relax.
  12. |
  13. */
  14. require __DIR__.'/../vendor/autoload.php';
  15. /*
  16. |--------------------------------------------------------------------------
  17. | Include The Compiled Class File
  18. |--------------------------------------------------------------------------
  19. |
  20. | To dramatically increase your application's performance, you may use a
  21. | compiled class file which contains all of the classes commonly used
  22. | by a request. The Artisan "optimize" is used to create this file.
  23. |
  24. */
  25. $compiledPath = __DIR__.'/../vendor/compiled.php';
  26. if (file_exists($compiledPath))
  27. {
  28. require $compiledPath;
  29. }