diff options
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -424,4 +424,16 @@ function paginate(&$a) { $o .= '</div>'."\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(); +} |