You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
569 B
22 lines
569 B
<?php
|
|
namespace App\Controllers;
|
|
|
|
use CodeIgniter\Controller;
|
|
|
|
class BaseController extends Controller
|
|
{
|
|
protected $helpers = [];
|
|
|
|
public function initController(\CodeIgniter\HTTP\RequestInterface $request,
|
|
\CodeIgniter\HTTP\ResponseInterface $response,
|
|
\Psr\Log\LoggerInterface $logger)
|
|
{
|
|
parent::initController($request, $response, $logger);
|
|
|
|
helper('alerts');
|
|
|
|
if (function_exists('checkDeadlineAlerts')) {
|
|
checkDeadlineAlerts();
|
|
}
|
|
}
|
|
}
|
|
|