Reputation: 11
How to insert CakePHP5 session into ckfinder config file? Are there any restrictions? The problem is that within the ckfinder config file I cannot retrieve the global session variable.
I tried the following code but it doesn't work:
if (!empty($_SESSION['Auth']['AdminUser'])) {
return true;
} else {
return false;
}
Upvotes: 0
Views: 54