Use CI4 session to protect ckfinder file manage |
-
seunex Codeigniter Rocker
  
-
Posts: 123
Threads: 29
Joined: Jun 2019
Reputation:
2
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.
|
Messages In This Thread |
Use CI4 session to protect ckfinder file manage - by seunex - 10-04-2020, 03:35 AM
|