diff options
author | Andreas Åkre Solberg <andreas.solberg@uninett.no> | 2008-03-05 07:41:47 +0000 |
---|---|---|
committer | Andreas Åkre Solberg <andreas.solberg@uninett.no> | 2008-03-05 07:41:47 +0000 |
commit | 8c07268565188791c60fe71366d6b573cb7011ed (patch) | |
tree | ec03eee2ab08eefccb347ff25db0dd1be2c0386c /lib/SimpleSAML/Logger/LoggingHandlerFile.php | |
parent | ecd06132413e04fc7d0f043542123b7ce3cd8605 (diff) | |
download | simplesamlphp-8c07268565188791c60fe71366d6b573cb7011ed.zip simplesamlphp-8c07268565188791c60fe71366d6b573cb7011ed.tar.gz simplesamlphp-8c07268565188791c60fe71366d6b573cb7011ed.tar.bz2 |
Adding a SIMPLESAML_INCPREFIX parameter before the inclusion of new files. This workaround was neccessary for university of oslo to make simplesamlphp work when ini_Set was not available.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@353 44740490-163a-0410-bde0-09ae8108e29a
Diffstat (limited to 'lib/SimpleSAML/Logger/LoggingHandlerFile.php')
-rw-r--r-- | lib/SimpleSAML/Logger/LoggingHandlerFile.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/SimpleSAML/Logger/LoggingHandlerFile.php b/lib/SimpleSAML/Logger/LoggingHandlerFile.php index a3b9493..3bf7681 100644 --- a/lib/SimpleSAML/Logger/LoggingHandlerFile.php +++ b/lib/SimpleSAML/Logger/LoggingHandlerFile.php @@ -1,7 +1,7 @@ <?php -require_once('SimpleSAML/Configuration.php'); -require_once('SimpleSAML/Logger.php'); +require_once((isset($SIMPLESAML_INCPREFIX)?$SIMPLESAML_INCPREFIX:'') . 'SimpleSAML/Configuration.php'); +require_once((isset($SIMPLESAML_INCPREFIX)?$SIMPLESAML_INCPREFIX:'') . 'SimpleSAML/Logger.php'); /** * A class for logging |