Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the support for maintenance mode
https://bugs.webkit.org/show_bug.cgi?id=154072 Reviewed by Chris Dumez. Added the crude support for maintenance mode whereby which the reports are stored in the filesystem instead of the database. * config.json: Added maintenanceMode and maintenanceDirectory as well as forgotten siteTitle and remoteServer.httpdMutexDir. * public/api/report.php: (main): Don't connect to the database or modify database when maintenanceMode is set. * public/include/json-header.php: (ensure_privileged_api_data): Exit with InMaintenanceMode when maintenanceMode is set. This prevents privileged API such as creating analysis tasks and new A/B testing groups from modifying the database. Canonical link: https://commits.webkit.org/172187@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@196386 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing with 51 additions and 9 deletions.