Update application/classes/Controller/Base.php