1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00

Update Image path

This commit is contained in:
Daniel Neto 2023-08-30 09:13:11 -03:00
parent 802387e4f1
commit 3135acb4a9
114 changed files with 704 additions and 329 deletions

View file

@ -554,7 +554,7 @@ if (typeof gtag !== \"function\") {
}
}
if (empty($photo)) {
$photo = "view/img/userSilhouette.jpg";
$photo = ImagesPlaceHolders::getUserIcon();
}
return $photo;
}
@ -580,7 +580,7 @@ if (typeof gtag !== \"function\") {
}
}
if (empty($photo)) {
$photo = "view/img/userSilhouette.jpg";
$photo = ImagesPlaceHolders::getUserIcon();
if (!$returnRelativePath) {
$photo = getURL($photo);
}
@ -604,8 +604,8 @@ if (typeof gtag !== \"function\") {
{
global $global;
$photo = self::_getPhoto($users_id);
if ($photo == "view/img/userSilhouette.jpg") {
return getURL('view/img/userSilhouette.jpg');
if ($photo == ImagesPlaceHolders::getUserIcon()) {
return getURL($photo);
}
if (empty($photo)) {
return false;