<?php /** * @file * Settings common to all sites. * * phpcs:disable Drupal.NamingConventions.ValidVariableName.LowerStart * phpcs:disable DrupalPractice.CodeAnalysis.VariableAnalysis.UnusedVariable */ // Include config files. foreach (glob(__DIR__ . '/../../config/global/config/?*.php') as $config_file) { require_once $config_file; } unset($config_file); $update_free_access = FALSE; $base_url = 'https://' . $UWhost . ($UWpref ? '/' . $UWpref : ''); // Only send session cookies to the site that set them. This does not // work for sites with a non-ASCII site paths, so exclude those. if (ctype_print($UWpref)) { ini_set('session.cookie_path', '/' . $UWpref); } $databases = []; // Primary database server. $databases['default']['default'] = [ 'driver' => 'mysql', 'database' => $UWdb, 'username' => $UWuser, 'password' => $UWpass, 'host' => $UWpri, 'port' => '', 'prefix' => '', ]; // Secondary database server, if configured. if (isset($UWsec)) { $databases['default']['slave'] = [ 'driver' => 'mysql', 'database' => $UWdb, 'username' => $UWuser, 'password' => $UWpass, 'host' => $UWsec, 'port' => '', 'prefix' => '', ]; }