Blame view

bootstrap/autoload.php 775 Bytes
b7c7a5f6   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  <?php
  
  define('LARAVEL_START', microtime(true));
  
  /*
  |--------------------------------------------------------------------------
  | Register The Composer Auto Loader
  |--------------------------------------------------------------------------
  |
  | Composer provides a convenient, automatically generated class loader
  | for our application. We just need to utilize it! We'll require it
  | into the script here so that we do not have to worry about the
  | loading of any our classes "manually". Feels great to relax.
  |
  */
  
  require __DIR__.'/../vendor/autoload.php';
  
  // Load composer for modules
  foreach (glob(__DIR__ . '/../modules/*') as $folder) {
      $autoload = $folder . '/vendor/autoload.php';
  
      if (!is_file($autoload)) {
          continue;
      }
  
      require $autoload;
  }