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

Revert changes

#564 has proven to be enough to accomodate Windows installs
parent 85521f9a
No related branches found
No related tags found
No related merge requests found
......@@ -8,15 +8,13 @@
* @package SimpleSAMLphp
*/
// SSP is loaded as a separate project
if (file_exists(dirname(dirname(__FILE__)).'/vendor/autoload.php')) {
// SSP is loaded as a separate project
require_once dirname(dirname(__FILE__)).'/vendor/autoload.php';
} else if (file_exists(dirname(dirname(__FILE__)).'/../../autoload.php')) {
// SSP is loaded as a library
require_once dirname(dirname(__FILE__)).'/../../autoload.php';
} else if (file_exists('/../../autoload.php')) {
// Windows version
require_once '/../../autoload.php';
} else {
throw new Exception('Unable to load Composer autoloader');
} else { // SSP is loaded as a library
if (file_exists(dirname(dirname(__FILE__)).'/../../autoload.php')) {
require_once dirname(dirname(__FILE__)).'/../../autoload.php';
} else {
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