Skip to content
Snippets Groups Projects
Commit bc3424ba authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Revert "Make Travis happy"

This reverts commit 4f58b0ec.
parent 4f58b0ec
No related branches found
No related tags found
No related merge requests found
......@@ -756,8 +756,6 @@ class HTTP
$cfg = \SimpleSAML_Configuration::getInstance();
$baseDir = $cfg->getBaseDir();
$cur_path = realpath($_SERVER['SCRIPT_FILENAME']);
// althought very unlikely, realpath() could return false and Travis doesn't like that idea
assert(is_string($cur_path));
// find the path to the current script relative to the www/ directory of SimpleSAMLphp
$rel_path = str_replace($baseDir.'www'.DIRECTORY_SEPARATOR, '', $cur_path);
// convert that relative path to an HTTP query
......
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