mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-13 03:27:45 +02:00
chore: update CodeIgniter to v4.5.6
+ update php dependencies to latest
This commit is contained in:
parent
fc2e7a0d83
commit
f295e9aa4c
31 changed files with 85 additions and 116 deletions
|
|
@ -18,7 +18,6 @@ use CodeIgniter\Exceptions\PageNotFoundException;
|
|||
use CodeIgniter\Router\Exceptions\RedirectException;
|
||||
use CodeIgniter\Router\Exceptions\RouterException;
|
||||
use CodeIgniter\Router\Router as CodeIgniterRouter;
|
||||
use Config\Services;
|
||||
use Override;
|
||||
|
||||
class Router extends CodeIgniterRouter
|
||||
|
|
@ -117,8 +116,8 @@ class Router extends CodeIgniterRouter
|
|||
array_key_exists('alternate-content', $this->matchedRouteOptions) &&
|
||||
is_array($this->matchedRouteOptions['alternate-content'])
|
||||
) {
|
||||
$request = Services::request();
|
||||
$negotiate = Services::negotiator();
|
||||
$request = service('request');
|
||||
$negotiate = service('negotiator');
|
||||
|
||||
// Accept header is mandatory
|
||||
if ($request->header('Accept') === null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue