Can't see any posts currently - after the big shakeup, but we can now post top level activities and store them.
This commit is contained in:
15
boot.php
15
boot.php
@@ -368,9 +368,11 @@ if(! class_exists('App')) {
|
||||
class App {
|
||||
|
||||
public $account = null;
|
||||
private $channel = null;
|
||||
private $widgets = array();
|
||||
|
||||
private $channel = null;
|
||||
private $observer = null;
|
||||
private $widgets = array();
|
||||
|
||||
public $language;
|
||||
public $module_loaded = false;
|
||||
public $query_string;
|
||||
@@ -612,6 +614,15 @@ if(! class_exists('App')) {
|
||||
return $this->channel;
|
||||
}
|
||||
|
||||
|
||||
function set_observer($xchan) {
|
||||
$this->observer = $xchan;
|
||||
}
|
||||
|
||||
function get_observer() {
|
||||
return $this->observer;
|
||||
}
|
||||
|
||||
function set_widget($title,$html, $location = 'aside') {
|
||||
$this->widgets[] = array('title' => $title, 'html' => $html, 'location' => $location);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user