[eluser]Random dude[/eluser]
Ben can you or another grand master please critique this library (which is auto-loaded in autoload.php) and tell me if this code will actually work and not leave my cms open to the world?
Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Check_logged_in {
public function __construct()
{
$CI =& get_instance();
$CI->load->library('ion_auth');
$CI->load->helper('url');