wrong icon

This commit is contained in:
nobody 2020-09-16 18:03:14 -07:00
parent 2ca30b3366
commit 68fce837af
3 changed files with 3 additions and 4 deletions

View file

@ -53,7 +53,7 @@ class Admin extends Controller {
$this->sm->call('post');
}
goaway(z_root() . '/admin' );
// goaway(z_root() . '/admin' );
}
/**
@ -89,8 +89,6 @@ class Admin extends Controller {
if (is_ajax()) {
echo $o;
killme();
// this is probably redundant
return '';
}
else {
return $o;

View file

@ -178,6 +178,7 @@ class Profile_photo {
// Similarly, tell the nav bar to bypass the cache and update the avatar image.
$_SESSION['reload_avatar'] = true;
Config::Set('system','site_icon_url',z_root() . '/photo/profile/m/' . $channel['channel_id']);
info( t('Shift-reload the page or clear browser cache if the new photo does not display immediately.') . EOL);

View file

@ -1124,7 +1124,7 @@ class App {
$i = head_get_icon();
if (! $i) {
$i = System::get_project_icon();
$i = System::get_site_icon();
}
if ($i) {
head_add_link(['rel' => 'shortcut icon', 'href' => $i ]);