From d20e1a6f938d088708166e039ae0088a8ddf11e4 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Wed, 14 Jul 2010 23:04:10 -0700 Subject: feed related --- boot.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 0633a828f..c94548c3f 100644 --- a/boot.php +++ b/boot.php @@ -424,4 +424,16 @@ function paginate(&$a) { $o .= ''."\r\n"; } return $o; -} \ No newline at end of file +} + +function expand_acl($s) { + + if(strlen($s)) { + $a = explode('<',$s); + for($x = 0; $x < count($a); $x ++) { + $a[$x] = intval(str_replace(array('<','>'),array('',''),$a[$x])); + } + return $a; + } + return array(); +} -- cgit v1.2.3