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
e135bb4f
Commit
e135bb4f
authored
9 years ago
by
Jaime Perez Crespo
Browse files
Options
Downloads
Patches
Plain Diff
Simple reformatting for auto loaders.
parent
17db5f56
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/_autoload.php
+10
-11
10 additions, 11 deletions
lib/_autoload.php
lib/_autoload_modules.php
+3
-3
3 additions, 3 deletions
lib/_autoload_modules.php
with
13 additions
and
14 deletions
lib/_autoload.php
+
10
−
11
View file @
e135bb4f
<?php
<?php
/**
/**
* This file is a backwards compatible autoloader for
s
impleSAMLphp.
* This file is a backwards compatible autoloader for
S
impleSAMLphp.
* Loads the Composer autoloader.
* Loads the Composer autoloader.
*
*
* @author Olav Morken, UNINETT AS.
* @author Olav Morken, UNINETT AS.
* @package
s
impleSAMLphp
* @package
S
impleSAMLphp
*/
*/
// SSP is loaded as a separate project
// SSP is loaded as a separate project
if
(
file_exists
(
dirname
(
dirname
(
__FILE__
))
.
'/vendor/autoload.php'
))
{
if
(
file_exists
(
dirname
(
dirname
(
__FILE__
))
.
'/vendor/autoload.php'
))
{
require_once
dirname
(
dirname
(
__FILE__
))
.
'/vendor/autoload.php'
;
require_once
dirname
(
dirname
(
__FILE__
))
.
'/vendor/autoload.php'
;
}
}
else
{
// SSP is loaded as a library.
// SSP is loaded as a library.
if
(
file_exists
(
dirname
(
dirname
(
__FILE__
))
.
'/../../autoload.php'
))
{
else
if
(
file_exists
(
dirname
(
dirname
(
__FILE__
))
.
'/../../autoload.php'
))
{
require_once
dirname
(
dirname
(
__FILE__
))
.
'/../../autoload.php'
;
require_once
dirname
(
dirname
(
__FILE__
))
.
'/../../autoload.php'
;
}
else
{
}
throw
new
Exception
(
'Unable to load Composer autoloader'
);
else
{
}
throw
new
Exception
(
'Unable to load Composer autoloader'
);
}
}
This diff is collapsed.
Click to expand it.
lib/_autoload_modules.php
+
3
−
3
View file @
e135bb4f
<?php
<?php
/**
/**
* This file implements a autoloader for
s
impleSAMLphp modules.
* This file implements a autoloader for
S
impleSAMLphp modules.
*
*
* @author Boy Baukema, SURFnet
* @author Boy Baukema, SURFnet
* @package
s
impleSAMLphp
* @package
S
impleSAMLphp
*/
*/
/**
/**
* Autoload function for
s
impleSAMLphp modules.
* Autoload function for
S
impleSAMLphp modules.
*
*
* @param string $className Name of the class.
* @param string $className Name of the class.
*/
*/
...
...
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