From 02ea9263979a2da6b45c9c689dc37c0169f25dd9 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Thu, 27 Aug 2009 13:45:37 +0000 Subject: [PATCH] core_ACL: Make config/acl.php optional. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1721 44740490-163a-0410-bde0-09ae8108e29a --- modules/core/lib/ACL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/lib/ACL.php b/modules/core/lib/ACL.php index 1bd1ad8dc..cf8127ed3 100644 --- a/modules/core/lib/ACL.php +++ b/modules/core/lib/ACL.php @@ -56,7 +56,7 @@ class sspmod_core_ACL { 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.'); } -- GitLab