/**
  * Renders the site settings page.
  *
  * This page provides an interface for modifying site settings, especially those handled by the SiteSettings class.
  * It also shows some basic configuration information for the site, along with a nicely formatted readout of the PHP error log.
  * This page requires authentication (and should generally be limited to the root user).
  * Request type: GET
  */
 public function pageSiteSettings()
 {
     // Access-controlled page
     if (!$this->_app->user->checkAccess('uri_site_settings')) {
         $this->_app->notFound();
     }
     // Hook for core and plugins to register their settings
     $this->_app->applyHook("settings.register");
     $this->_app->render('config/site-settings.twig', ['settings' => $this->_app->site->getRegisteredSettings(), 'info' => $this->_app->site->getSystemInfo(), 'error_log' => SiteSettings::getLog(50)]);
 }