Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
devuri authored Aug 11, 2022
1 parent 19ac46c commit bbe4997
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ As of version 0.12 we can use the `Kernel` to setup environment like so:
```php

use DevUri\Config\Kernel;
use function Env\env;

if ( file_exists( dirname( __FILE__ ) . '/vendor/autoload.php' ) ) {
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
Expand Down Expand Up @@ -215,12 +214,11 @@ The Kernel setup follows a more project based WordPress Skeleton structure, with
├── vendor
```

We can also opt not to use the Kernel WordPress Skeleton, assuming we are working on a full site build structure, and define our own by setting second param of **init** `$http_app->init('development', false)` to false.
We can also opt not to use the Kernel WordPress Skeleton, assuming we are working on a full site build structure, and define our own by setting second **init** param to **false** `$http_app->init('development', false)` .

```php

use DevUri\Config\Kernel;
use function Env\env;

if ( file_exists( dirname( __FILE__ ) . '/vendor/autoload.php' ) ) {
require_once dirname( __FILE__ ) . '/vendor/autoload.php';
Expand Down

0 comments on commit bbe4997

Please sign in to comment.