Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
327daa65
Unverified
Commit
327daa65
authored
6 years ago
by
Tim van Dijen
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Revert changes
#564 has proven to be enough to accomodate Windows installs
parent
85521f9a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/_autoload.php
+7
-9
7 additions, 9 deletions
lib/_autoload.php
with
7 additions
and
9 deletions
lib/_autoload.php
+
7
−
9
View file @
327daa65
...
...
@@ -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'
);
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment