From 8f9ddcb536ae46f1c6b3d3c19db1598dc4a51616 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 21 Oct 2012 22:11:02 -0700 Subject: lotsa little fixes --- boot.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 43672695c..a85a927ef 100644 --- a/boot.php +++ b/boot.php @@ -426,7 +426,7 @@ if(! class_exists('App')) { public $timezone; public $interactive = true; public $plugins; - public $apps = array(); + private $apps = array(); public $identities; public $css_sources = array(); public $js_sources = array(); @@ -654,6 +654,15 @@ if(! class_exists('App')) { return $this->observer; } + function get_apps() { + return $this->apps; + } + + function set_apps($arr) { + $this->apps = $arr; + } + + function set_widget($title,$html, $location = 'aside') { $this->widgets[] = array('title' => $title, 'html' => $html, 'location' => $location); } -- cgit v1.2.3