The basis of the problem. I have a config file located at /random_folder/ranom_f/config/_config.php
I want to be able to access that file from /random/functions/php/functions.php
The config file will not always be located in /random_folder/random_f/config/_config.php so I have to figure out a way to know where the config file is located.
My attempted solution is to set a superglobal (like in $_SERVER) that gives the "root" of the software I am creating.
Does anyone have a better solution / know how I can set a superglobal like that?