Vedran Hodalj
Vedran Hodalj

Reputation: 11

ckfinder 3 config file and CakePHP 5

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

Answers (0)

Related Questions