Skip to content
Snippets Groups Projects
Commit 743d6509 authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Avoid tests to fail.

parent 123f33b7
No related branches found
No related tags found
No related merge requests found
......@@ -70,8 +70,6 @@ class Config
$configDirEnv = getenv('SIMPLESAMLPHP_CONFIG_DIR');
if ($configDirEnv !== false) {
if (!is_dir($configDirEnv)) {
// this error is fatal, make sure the user can read it at least
header('Content-Type: text/plain');
throw new \InvalidArgumentException(
sprintf(
'Config directory specified by environment variable SIMPLESAMLPHP_CONFIG_DIR is not a ' .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment