There's a lot of use of global vars in the PHP, which are then used within functions via global, but this doesn't work in environments such as serverless Lambda functions.
In order to get this working and also improve code quality, review code and change globals to use get/set functions within the existing classes (File, System etc).
There's a lot of use of global vars in the PHP, which are then used within functions via
global
, but this doesn't work in environments such as serverless Lambda functions.In order to get this working and also improve code quality, review code and change globals to use get/set functions within the existing classes (File, System etc).