load(); } // Load the local craft3-multi-environment if (file_exists(CRAFT_BASE_PATH . DIRECTORY_SEPARATOR . '.env.php')) { require_once CRAFT_BASE_PATH . DIRECTORY_SEPARATOR . '.env.php'; } // Default environment if (!defined('CRAFT_ENVIRONMENT')) { define('CRAFT_ENVIRONMENT', getenv('CRAFTENV_CRAFT_ENVIRONMENT')); } // Load and run Craft $app = require CRAFT_VENDOR_PATH.'/craftcms/cms/bootstrap/web.php'; $app->run();