static App
This commit is contained in:
@@ -29,7 +29,7 @@ function manage_content(&$a) {
|
||||
$r = change_channel($change_channel);
|
||||
|
||||
if((argc() > 2) && !(argv(2) === 'default')) {
|
||||
goaway(z_root() . '/' . implode('/',array_slice($a->argv,2))); // Go to whatever is after /manage/, but with the new channel
|
||||
goaway(z_root() . '/' . implode('/',array_slice(App::$argv,2))); // Go to whatever is after /manage/, but with the new channel
|
||||
}
|
||||
else {
|
||||
if($r && $r['channel_startpage'])
|
||||
@@ -45,7 +45,7 @@ function manage_content(&$a) {
|
||||
intval(get_account_id())
|
||||
);
|
||||
|
||||
$account = get_app()->get_account();
|
||||
$account = App::get_account();
|
||||
|
||||
if($r && count($r)) {
|
||||
$channels = $r;
|
||||
|
||||
Reference in New Issue
Block a user