mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 21:55:15 +00:00
wrong icon
This commit is contained in:
parent
2ca30b3366
commit
68fce837af
3 changed files with 3 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
2
boot.php
2
boot.php
|
@ -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 ]);
|
||||
|
|
Loading…
Reference in a new issue