06-22-2017, 06:00 PM
Why is there a class for accessing one global variable? It's faster and simpler to just use:
Similar case with Cookie, Hash, Input, Redirect, Session and Token. They could just be functions instead of static methods.
Code:
$GLOBALS['config']['mysql']['username']
Similar case with Cookie, Hash, Input, Redirect, Session and Token. They could just be functions instead of static methods.