From 5a6cd7fb463d7c56166af3b5bb356720876a4551 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 15 Apr 2018 23:39:41 +0900 Subject: [PATCH] =?UTF-8?q?=EC=84=9C=EB=B2=84=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=EC=95=84=EC=9D=B4=EC=BD=98=20=EC=A3=BC=EC=86=8C=EB=A5=BC=20?= =?UTF-8?q?=EB=B0=94=EB=A1=9C=20=EB=8F=8C=EB=A0=A4=EC=A3=BC=EB=8A=94=20?= =?UTF-8?q?=EA=B8=B0=EB=8A=A5=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- f_install/templates/ServConfig.orig.php | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/f_install/templates/ServConfig.orig.php b/f_install/templates/ServConfig.orig.php index c24d8501..3a428367 100644 --- a/f_install/templates/ServConfig.orig.php +++ b/f_install/templates/ServConfig.orig.php @@ -11,18 +11,27 @@ class ServConfig public static $sharedIconPath = '_tK_sharedIconPath_'; public static $gameImagePath = "_tK_gameImagePath_"; - public static function getSharedIconPath() : string + public static function getSharedIconPath(string $filepath) : string { + if($filepath){ + return static::$sharedIconPath."/{$filepath}"; + } return static::$sharedIconPath; } - public static function getUserIconPath() : string + public static function getUserIconPath(string $filepath) : string { + if($filepath){ + return AppConf::getUserIconPathWeb()."/{$filepath}"; + } return AppConf::getUserIconPathWeb(); } - public static function getGameImagePath() : string + public static function getGameImagePath(string $filepath) : string { + if($filepath){ + return static::$gameImagePath."/{$filepath}"; + } return static::$gameImagePath; }