includes/sessions.php
changeset 1253 13f8d373da67
parent 1252 e34c23a35dc9
child 1260 cd72bcd83401
equal deleted inserted replaced
1252:e34c23a35dc9 1253:13f8d373da67
  2839 			return false;
  2839 			return false;
  2840 		else
  2840 		else
  2841 		{
  2841 		{
  2842 			if(!$desc)
  2842 			if(!$desc)
  2843 			{
  2843 			{
  2844 				$desc = capitalize_first_letter(str_replace('_', ' ', $acl_type));
  2844 				$desc = ucfirst(str_replace('_', ' ', $acl_type));
  2845 			}
  2845 			}
  2846 			$this->acl_types[$acl_type] = $default_perm;
  2846 			$this->acl_types[$acl_type] = $default_perm;
  2847 			$this->acl_descs[$acl_type] = $desc;
  2847 			$this->acl_descs[$acl_type] = $desc;
  2848 			$this->acl_deps[$acl_type] = $deps;
  2848 			$this->acl_deps[$acl_type] = $deps;
  2849 			$this->acl_scope[$acl_type] = explode('|', $scope);
  2849 			$this->acl_scope[$acl_type] = explode('|', $scope);