This commit is contained in:
Dennis Eichhorn 2016-03-26 11:03:27 +01:00
parent 4827fbc585
commit 989575f217

View File

@ -80,7 +80,7 @@ Example usage:
```
if(($pathNew = realpath($path)) === false || strpos($pathNew, self::MODULE_PATH) === false) {
throw new FilePathException($path);
throw new PathException($path);
}
```
@ -88,7 +88,7 @@ The example throws an exception if the path either doesn't exist or is trying to
```
if(($pathNew = realpath($path)) === false || !Validator::startsWith($pathNew, ROOT_PATH)) {
throw new FilePathException($path);
throw new PathException($path);
}
```