Welcome Guest, Not a member yet? Register   Sign In
Use CI4 session to protect ckfinder file manage
#1

Hello please i am trying to use ckfinder with Codeigniter 4. I dont any way i can use the ci_session to portect the ckfinder please
Code:
$config['authentication'] = function () {

session_start();
if($_SESSION['isAdmin'])
{
    return true;
}
else
{
    return false;
}
};
The cofig file is to protect a direct access to the file manage and uses session to protected. I have try to access the codeigniter session outside it app folder but could not find any solution to this.
Reply


Messages In This Thread
Use CI4 session to protect ckfinder file manage - by seunex - 10-04-2020, 03:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB