Welcome Guest, Not a member yet? Register   Sign In
extending the controller
#2

It's CI_Controller not Controller for CodeIgniter 3.
CodeIgniter 4 uses Controller.

PHP Code:
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class 
MY_Controller extends CI_Controller
{
    function __construct()
    {
        parent::__construct();
    }

What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
extending the controller - by VateUthnerdal - 03-16-2023, 10:32 PM
RE: extending the controller - by InsiteFX - 03-16-2023, 11:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB