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

(This post was last modified: 10-06-2023, 01:40 AM by kenjis.)

In a controller or model class, variables are not global.
It is bad practice to use global variables, so there is no place to use global variables in CI4.

But if you want to use global variables, you could use because that is a PHP language feature.
You need to make it global explicitly.
PHP Code:
global $CONFIG
Reply


Messages In This Thread
RE: Problem with integration with Tiny File Manager - by kenjis - 10-06-2023, 01:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB