Skip to content
Snippets Groups Projects
Unverified Commit 32a6be85 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Another syntax fix

Murphy hit me in the face
parent 9c428a56
No related branches found
No related tags found
No related merge requests found
...@@ -10,12 +10,12 @@ ...@@ -10,12 +10,12 @@
// SSP is loaded as a separate project // SSP is loaded as a separate project
$libpath = \SimpleSAML\Utils\System::resolvePath(dirname(dirname(__FILE__)).'/vendor/autoload.php'); $libpath = \SimpleSAML\Utils\System::resolvePath(dirname(dirname(__FILE__)).'/vendor/autoload.php');
if (file_exists($libpath) { if (file_exists($libpath)) {
require_once $libpath; require_once($libpath);
} else { // SSP is loaded as a library } else { // SSP is loaded as a library
$libpath = \SimpleSAML\Utils\System::resolvePath(dirname(dirname(__FILE__)).'/../../autoload.php'); $libpath = \SimpleSAML\Utils\System::resolvePath(dirname(dirname(__FILE__)).'/../../autoload.php');
if (file_exists($libpath) { if (file_exists($libpath)) {
require_once $libpath; require_once($libpath);
} else { } else {
throw new Exception('Unable to load Composer autoloader'); throw new Exception('Unable to load Composer autoloader');
} }
......
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