Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
prod3v3loper committed Mar 5, 2019
1 parent 245203f commit e938b38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ The complete path is the directory path, that the autoloader get by self.

DEFAULT: `MBT_DOCUMENT_ROOT`

The autoloader define get the web root by self on require the `init.php`
The autoloader define get the web root by self after set `MBT_DOCUMENT_ROOT`
```php
define('MBT_DOCUMENT_ROOT', __DIR__);
define('MBT_SERVER_ROOT', str_replace(MBT_DOCUMENT_ROOT, '', str_replace(filter_input(INPUT_SERVER, 'DOCUMENT_ROOT'), '', str_replace("\\", "/", MBT_DOCUMENT_ROOT))));
Expand Down

0 comments on commit e938b38

Please sign in to comment.