Some non MVC PHP code