diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2019-04-24 13:48:49 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2019-04-25 18:17:19 +0200 |
commit | 8da8805f5d7fcdf822757c6892c619237fd40188 (patch) | |
tree | 947654a4ff91a6c17911d9f5d48b82770f29daac /src/Middleware | |
parent | 79c92da8c14de61dccc015f04c3900aac4bd4179 (diff) |
Replaced functions with mb_* equivalents
Diffstat (limited to 'src/Middleware')
-rw-r--r-- | src/Middleware/RequestHandler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Middleware/RequestHandler.php b/src/Middleware/RequestHandler.php index b0fc664f..ce3fb718 100644 --- a/src/Middleware/RequestHandler.php +++ b/src/Middleware/RequestHandler.php @@ -67,7 +67,7 @@ class RequestHandler implements MiddlewareInterface */ protected function resolveRequestHandler($handler) { - if (is_string($handler) && strpos($handler, '@') !== false) { + if (is_string($handler) && mb_strpos($handler, '@') !== false) { list($class, $method) = explode('@', $handler, 2); if (!class_exists($class) && !$this->container->has($class)) { $class = sprintf('Engelsystem\\Controllers\\%s', $class); |