lotsa little fixes

This commit is contained in:
friendica
2012-10-21 22:11:02 -07:00
parent 87c171030c
commit 8f9ddcb536
10 changed files with 56 additions and 85 deletions

View File

@@ -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);
}