public/index.php line 7

Open in your IDE?
  1. <?php
  2. ini_set('display_errors'1);
  3. use App\Kernel;
  4. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  5. define('ROOT_DIR'dirname(__DIR__));
  6. define('VENDOR_DIR'realpath(ROOT_DIR).'/vendor');
  7. define('CONFIG_DIR'realpath(ROOT_DIR).'/config');
  8. define('SERVICE_DIR'realpath(ROOT_DIR).'/scr/Service');
  9. define('INVENTUR_UPLOAD_DIR'realpath(ROOT_DIR).'/uploads/inventur');
  10. return function (array $context) {
  11.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  12. };