From c40e478e80bdedfb545681ada7d4412bd440e44f Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sat, 29 Jun 2024 19:32:45 -0400 Subject: [PATCH] hi --- src/web/_views/apps/home.php | 4 ++++ src/web/helpers/image.php | 4 +++- src/web/lang/apps/home.php | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/web/_views/apps/home.php b/src/web/_views/apps/home.php index bb88e42..50134e3 100644 --- a/src/web/_views/apps/home.php +++ b/src/web/_views/apps/home.php @@ -21,6 +21,10 @@ + + + + diff --git a/src/web/helpers/image.php b/src/web/helpers/image.php index c18154a..8d58c1e 100644 --- a/src/web/helpers/image.php +++ b/src/web/helpers/image.php @@ -30,7 +30,9 @@ function __make_source( $media = ''; } $main = $GLOBALS['main_model']; - $path = $main->get_url('public/' . $name . '.' . $format); + $file = $name . '.' . $format; + $time = filemtime($GLOBALS['publicroot'] . '/' . $file); + $path = $main->get_url('public/' . $file) . "?r={$time}"; $mime = __get_mime($format); return sprintf('', $mime, $path, $media); diff --git a/src/web/lang/apps/home.php b/src/web/lang/apps/home.php index 0522105..03d706c 100644 --- a/src/web/lang/apps/home.php +++ b/src/web/lang/apps/home.php @@ -24,6 +24,8 @@ $lang['interests_general'] = 'General'; $lang['interests_general_value'] = 'Computing, Anime, FNaF'; $lang['interests_music'] = 'Music'; $lang['interests_music_value'] = 'Billy Joel, Linkin Park, Vocaloid, Neil Cicierega'; +$lang['interests_anime'] = 'Anime'; +$lang['interests_anime_value'] = 'Sasaki and Miyano, Evangalion, Code Geass, Stranger by the Shore'; $lang['interests_comics'] = 'Comics'; $lang['interests_comics_value'] = 'Homestuck';