123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <?php
- $app = new Illuminate\Foundation\Application;
- $paths = require __DIR__.'/paths.php';
- $app->instance('path', $appPath = $paths['app']);
- $app->instance('path.base', $paths['base']);
- $app->instance('path.public', $paths['public']);
- $env = $app->detectEnvironment(array(
- 'local' => array('your-machine-name'),
- ));
- require $app->getBootstrapFile();
- return $app;
|