aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-21 22:11:02 -0700
committerfriendica <info@friendica.com>2012-10-21 22:11:02 -0700
commit8f9ddcb536ae46f1c6b3d3c19db1598dc4a51616 (patch)
tree1941b7e5879c9d1e54cc45529f92e9b0a8a7a0c3 /boot.php
parent87c171030c8de2e36f284fa6b58f11a5535a9a29 (diff)
downloadvolse-hubzilla-8f9ddcb536ae46f1c6b3d3c19db1598dc4a51616.tar.gz
volse-hubzilla-8f9ddcb536ae46f1c6b3d3c19db1598dc4a51616.tar.bz2
volse-hubzilla-8f9ddcb536ae46f1c6b3d3c19db1598dc4a51616.zip
lotsa little fixes
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php11
1 files changed, 10 insertions, 1 deletions
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);
}