mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-12 11:16:43 +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
|
|
@ -20,7 +20,6 @@ use CodeIgniter\HTTP\RedirectResponse;
|
|||
use CodeIgniter\HTTP\RequestInterface;
|
||||
use CodeIgniter\HTTP\ResponseInterface;
|
||||
use CodeIgniter\HTTP\URI;
|
||||
use Config\Services;
|
||||
use Modules\Analytics\Config\Analytics;
|
||||
use Modules\PremiumPodcasts\Entities\Subscription;
|
||||
use Modules\PremiumPodcasts\Models\SubscriptionModel;
|
||||
|
|
@ -124,7 +123,7 @@ class EpisodeAudioController extends Controller
|
|||
}
|
||||
}
|
||||
|
||||
$session = Services::session();
|
||||
$session = service('session');
|
||||
|
||||
$serviceName = '';
|
||||
if ($this->request->getGet('_from')) {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ use CodeIgniter\Database\BaseBuilder;
|
|||
use CodeIgniter\Exceptions\PageNotFoundException;
|
||||
use CodeIgniter\HTTP\ResponseInterface;
|
||||
use Config\Embed;
|
||||
use Config\Services;
|
||||
use Modules\Analytics\AnalyticsTrait;
|
||||
use Modules\Fediverse\Objects\OrderedCollectionObject;
|
||||
use Modules\Fediverse\Objects\OrderedCollectionPage;
|
||||
|
|
@ -277,7 +276,7 @@ class EpisodeController extends BaseController
|
|||
|
||||
$this->registerPodcastWebpageHit($this->episode->podcast_id);
|
||||
|
||||
$session = Services::session();
|
||||
$session = service('session');
|
||||
|
||||
if (service('superglobals')->server('HTTP_REFERER') !== null) {
|
||||
$session->set('embed_domain', parse_url(service('superglobals')->server('HTTP_REFERER'), PHP_URL_HOST));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue