PHP version of Maintenance Page Controller