Welcome Guest, Not a member yet? Register   Sign In
Problem with integration with Tiny File Manager
#12

(This post was last modified: 10-06-2023, 12:25 PM by damek2010.)

(10-06-2023, 06:02 AM)kenjis Wrote: If you say the $CONFIG in the following line
https://github.com/prasathmani/tinyfilem...ger.php#L3
It is not a global variable, but a local variable, because you pass it to view().

> So what should I do to make it work?

You need to make it global by yourself.

Everything has already started to load Smile it even displays files, but the functions don't work yet and I don't know why :/
E.g. this "IF" doesn't work for me
PHP Code:
if ((isset($_SESSION[FM_SESSION_ID]['logged'], $auth_users[$_SESSION[FM_SESSION_ID]['logged']]) || !FM_USE_AUTH) && isset($_POST['ajax'], $_POST['token']) && !FM_READONLY) { 

Maybe you know where the problem is? Why doesn't this code work in CodeIgniter4?
Reply


Messages In This Thread
RE: Problem with integration with Tiny File Manager - by damek2010 - 10-06-2023, 10:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB