Revision: 1721
Author: olavmrk
Date: Thu Aug 27 06:45:37 2009
Log: core_ACL: Make config/acl.php optional.
http://code.google.com/p/simplesamlphp/source/detail?r=1721
Modified:
/trunk/modules/core/lib/ACL.php
=======================================
--- /trunk/modules/core/lib/ACL.php Thu Aug 6 04:26:11 2009
+++ /trunk/modules/core/lib/ACL.php Thu Aug 27 06:45:37 2009
@@ -56,7 +56,7 @@
private static function getById($id) {
assert('is_string($id)');
- $config = SimpleSAML_Configuration::getConfig('acl.php');
+ $config =
SimpleSAML_Configuration::getOptionalConfig('acl.php');
if (!$config->hasValue($id)) {
throw new SimpleSAML_Error_Exception('No ACL with id '
.
var_export($id, TRUE) . ' in config/acl.php.');
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"simpleSAMLphp commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/simplesamlphp-commits?hl=en
-~----------~----~----~----~------~----~------~--~---