aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php14
1 files changed, 13 insertions, 1 deletions
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 .= '</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();
+}