/var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/authentication/src/UrlChecker
NameSizeModeActions
CakeRouterUrlChecker.php19400644editdlrm
DefaultUrlChecker.php31970644editdlrm
UrlCheckerInterface.php11700644editdlrm
UrlCheckerTrait.php23390644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/authentication/src/UrlChecker/UrlCheckerTrait.php (2339B)
_getUrlChecker()->check( $request, $this->getConfig('loginUrl'), (array)$this->getConfig('urlChecker') ); } /** * Gets the login URL checker * * @return \Authentication\UrlChecker\UrlCheckerInterface */ protected function _getUrlChecker(): UrlCheckerInterface { $options = $this->getConfig('urlChecker'); if (!is_array($options)) { $options = [ 'className' => $options, ]; } if (!isset($options['className'])) { $options['className'] = DefaultUrlChecker::class; } $className = App::className($options['className'], 'UrlChecker', 'UrlChecker'); if ($className === null) { throw new RuntimeException(sprintf('URL checker class `%s` was not found.', $options['className'])); } $checker = new $className(); if (!($checker instanceof UrlCheckerInterface)) { throw new RuntimeException(sprintf( 'The provided URL checker class `%s` does not implement the `%s` interface.', $options['className'], UrlCheckerInterface::class )); } return $checker; } }