icecoder / ICEcoder

Browser code editor awesomeness
http://icecoder.net
Other
1.41k stars 348 forks source link

Replace globals with getters/setters #1014

Open mattpass opened 2 years ago

mattpass commented 2 years ago

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).