Skip to content

Commit d123ac0

Browse files
committed
Update README.md
1 parent 6d74cf6 commit d123ac0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The only thing you have to do is to integrate.
2828

2929
## Packagist with Composer
3030

31-
This solution extends the vendor autoloader because it calls the files with certain criteria. The extension allows you to call classes wherever the Autloder is involved.
31+
This solution extends the vendor autoloader because it calls the files with certain criteria. The extension allows you to call classes wherever the Autoloader is involved.
3232

3333
Download [Composer](https://getcomposer.org/) local or global. Check for more [Tutorial - NetBeans with Composer and Packagist](https://www.tnado.com/blog/netbeans-with-composer-and-packagist-the-php-package-manager/) for this one.
3434

@@ -161,6 +161,7 @@ DEFAULT: `MBT_DOCUMENT_ROOT`
161161
The autoloader define get the web root by self after set `MBT_DOCUMENT_ROOT`
162162
```php
163163
define('MBT_DOCUMENT_ROOT', __DIR__);
164+
164165
define('MBT_SERVER_ROOT', str_replace(MBT_DOCUMENT_ROOT, '', str_replace(filter_input(INPUT_SERVER, 'DOCUMENT_ROOT'), '', str_replace("\\", "/", MBT_DOCUMENT_ROOT))));
165166
define('MBT_HTTP_ROOT', get_protocol() . get_host() . MBT_SERVER_ROOT);
166167
```
@@ -171,7 +172,7 @@ define('MBT_HTTP_ROOT', get_protocol() . get_host() . MBT_SERVER_ROOT);
171172

172173
</div>
173174

174-
The autoloader finds everything yourself you do not have to do anything except write your class and instanzieren and use.
175+
The autoloader finds everything yourself you do not have to do anything except write your class and instance and use.
175176

176177
Method | Namespace (Instance) | Path | Load Time
177178
------------ | ------------ | ------------- | -------------

0 commit comments

Comments
 (0)