Welcome Guest, Not a member yet? Register   Sign In
authenticate problem
#1
Sad 

Hello,

My old coder added in all my funtions this code in start. 

admin_authenticate();


for exmple :
function enable()
{
admin_authenticate();

$this->db->where("category_id", $this->uri->segment(4));
$this->db->update("categories", array("category_enabled" => $this->uri->segment(5)));

$msg = $this->uri->segment(5)? "enabled" : "disabled";

redirect("admins/categories/listing/".$msg);
}




My question is where admin_authenticate();  ??? i wana edit this for redirect page ? please help i m new.
Reply


Messages In This Thread
authenticate problem - by manikingx - 12-21-2015, 08:09 AM
RE: authenticate problem - by Diederik - 12-21-2015, 05:36 PM
RE: authenticate problem - by lazyfox - 12-21-2015, 06:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB