Welcome Guest, Not a member yet? Register   Sign In
Add $this->load->view to all functions?
#8

[eluser]InsiteFX[/eluser]
You cannot do this Controller is a CI reserved word!
Code:
<?php defined('BASEPATH') OR exit('No direct script access allowed');

if ( ! class_exists('Controller'))
{
    class Controller extends MY_Controller {}
}

// should be something like this! application/core/Admin_Controller.php
class Auth extends Controller {
<?php defined('BASEPATH') OR exit('No direct script access allowed');

if ( ! class_exists('Admin_Controller'))
{
    class Admin_Controller extends MY_Controller {}
}

class Auth extends Admin_Controller {

InsiteFX


Messages In This Thread
Add $this->load->view to all functions? - by El Forum - 04-24-2011, 02:54 AM
Add $this->load->view to all functions? - by El Forum - 04-24-2011, 03:32 AM
Add $this->load->view to all functions? - by El Forum - 04-24-2011, 09:48 AM
Add $this->load->view to all functions? - by El Forum - 04-24-2011, 09:56 AM
Add $this->load->view to all functions? - by El Forum - 04-24-2011, 10:13 AM
Add $this->load->view to all functions? - by El Forum - 04-24-2011, 10:21 AM
Add $this->load->view to all functions? - by El Forum - 04-24-2011, 01:16 PM
Add $this->load->view to all functions? - by El Forum - 04-24-2011, 03:06 PM
Add $this->load->view to all functions? - by El Forum - 04-24-2011, 03:30 PM
Add $this->load->view to all functions? - by El Forum - 04-24-2011, 03:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB