summaryrefslogtreecommitdiffstats
path: root/www/_include.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/_include.php')
-rw-r--r--www/_include.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/_include.php b/www/_include.php
index b6d81f1..7b65e92 100644
--- a/www/_include.php
+++ b/www/_include.php
@@ -81,7 +81,7 @@ function SimpleSAML_error_handler($errno, $errstr, $errfile = null, $errline = 0
set_error_handler('SimpleSAML_error_handler');
-$configdir = dirname(dirname(__FILE__)).'/config';
+$configdir = SimpleSAML\Utils\Config::getConfigDir();
if (!file_exists($configdir.'/config.php')) {
header('Content-Type: text/plain');
echo("You have not yet created the simpleSAMLphp configuration files.\n");