Skip to content

Commit

Permalink
feat: v0.4 Update bootstrap.php
Browse files Browse the repository at this point in the history
  • Loading branch information
devuri authored Sep 10, 2024
1 parent c48833d commit b0c17e6
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use WPframework\Component\Kernel;
use WPframework\Component\App;

/*
* This is the bootstrap file for the web application.
Expand All @@ -14,23 +14,21 @@
exit( 'Cant find the vendor autoload file.' );
}

/**
/*
* Override for .env setup of `WP_ENVIRONMENT_TYPE`.
*
* This is optional; if you prefer to use the .env file, set this to null or remove it.
*
* @var string|null RAYDIUM_ENVIRONMENT_TYPE The environment type, can be null to use the .env file setup.
*/
if ( ! defined( 'RAYDIUM_ENVIRONMENT_TYPE' ) ) {
define( 'RAYDIUM_ENVIRONMENT_TYPE', null );
if ( ! \defined( 'RAYDIUM_ENVIRONMENT_TYPE' ) ) {
\define( 'RAYDIUM_ENVIRONMENT_TYPE', null );
}

/**
* Start and bootstrap the web application.
*
* @var Kernel
*/
$raydium_http = http_component_kernel( __DIR__ );
$raydium_http = App::init( __DIR__ );

/*
* Load constant overrides.
Expand Down

0 comments on commit b0c17e6

Please # to comment.