Hello, I use this method for include Phprunner login in a custom PHP page, but with a Codeigniter app, doesn't work.
include('include/dbcommon.php');
if(!empty($_SESSION["UserID"])) {
//here codeigniter controller
}
Message: Call to a member function getDefault() on null
thanks