Skip to content

Commit e938b38

Browse files
committed
Update README.md
1 parent 245203f commit e938b38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ The complete path is the directory path, that the autoloader get by self.
122122

123123
DEFAULT: `MBT_DOCUMENT_ROOT`
124124

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

0 commit comments

Comments
 (0)