From 95704aa9357e93de84fe3b628b6c47c615ef0f53 Mon Sep 17 00:00:00 2001 From: Mattia Mascarello Date: Mon, 15 Aug 2022 02:44:39 +0200 Subject: [PATCH] First region flag test --- src/gdImg/gd.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gdImg/gd.php b/src/gdImg/gd.php index d408808..fc1d0cb 100644 --- a/src/gdImg/gd.php +++ b/src/gdImg/gd.php @@ -26,6 +26,8 @@ function flagGetFromUser($p){ if(contains("MTF",$o) || contains("FTM",$o) || contains("TRANS",$o)) $re[]="trans"; //miscellaneous if (contains("FEMB", $o)) $re[]= "femboy"; + $o = strtoupper($p->where); + if(contains("PIEMONTE", $o)) $re[]="piemonte"; return $re; } function dlImage($userId,$fileName){