Use rawContent for Special Options to avoid a protected options() method
This commit is contained in:
@@ -262,7 +262,7 @@ class Router
|
||||
|
||||
$this->parameters = [];
|
||||
|
||||
// Check if the HTTP method ist OPTIONS and return the special Options Module with the possible HTTP methods
|
||||
// Check if the HTTP method is OPTIONS and return the special Options Module with the possible HTTP methods
|
||||
if ($this->args->getMethod() === static::OPTIONS) {
|
||||
$routeOptions = $dispatcher->getOptions($cmd);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user