aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-14 23:04:10 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-14 23:04:10 -0700
commitd20e1a6f938d088708166e039ae0088a8ddf11e4 (patch)
tree7fa25d32ca357cd04debe066956f9a44f56e5206 /boot.php
parent43f8dd680234239f2cf6e0d62a12aa32aacf5b16 (diff)
downloadvolse-hubzilla-d20e1a6f938d088708166e039ae0088a8ddf11e4.tar.gz
volse-hubzilla-d20e1a6f938d088708166e039ae0088a8ddf11e4.tar.bz2
volse-hubzilla-d20e1a6f938d088708166e039ae0088a8ddf11e4.zip
feed related
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();
+}