change profile image to png
This commit is contained in:
+3
-3
@@ -36,9 +36,9 @@ final class App {
|
||||
if (isset($_SESSION['__WEB_USER'])) {
|
||||
$this->auser = $_SESSION['__WEB_USER'];
|
||||
$this->auser['user_info'] = tgl_sql2str($this->auser['Last_Date'], true) ." // ". $this->auser['Last_IP'].'<input type="hidden" id="Desktop_User_ID" value="'.intval($this->auser['UserID']).'"><input type="hidden" id="Desktop_User_Level" value="'.intval($this->auser['Level']).'"><input type="hidden" id="Desktop_User_UID" value="'.$this->auser['Username'].'">';
|
||||
$this->auser['user_img'] = "profile.webp";
|
||||
if (file_exists($this->apps['REAL_PATH']."assets/images/profiles/".$this->auser['UserID'].".webp")) {
|
||||
$this->auser['user_img'] = $this->auser['UserID'].".webp";
|
||||
$this->auser['user_img'] = "profile.png";
|
||||
if (file_exists($this->apps['REAL_PATH']."assets/images/profiles/".$this->auser['UserID'].".png")) {
|
||||
$this->auser['user_img'] = $this->auser['UserID'].".png";
|
||||
}
|
||||
}
|
||||
$this->reg = new \siaupheng\fonia3\Web\Register($this->__db);
|
||||
|
||||
Reference in New Issue
Block a user