We use drupal constant DRUPAL_ROOT to point to our app docroot. We use it to point to our local development's settings for durpal/php to put the database configuration information into simplesamlphp configuration.
Here are our codes in config.php:
if (!getenv('AH_SITE_ENVIRONMENT')) {
// Add / modify your local configuration here.
if (file_exists(DRUPAL_ROOT."/sites/default/settings.local.php")) {
include (DRUPAL_ROOT."/sites/default/settings.local.php");
We're looking into how, with Drupal 8, we can have a separate login page. One would be hidden, for website Admin and Editors, then a separate login for other, lower level users.
The idea is that the forms would be limited to roles. If a simple 'registered user' found and tried to log in with the private login page, it would not work. But they could log in from the general log in.