기본 갠메, 국메, 전메 동작

This commit is contained in:
2018-04-16 02:20:05 +09:00
parent 3ad4032239
commit db97400b43
4 changed files with 25 additions and 28 deletions
+4 -7
View File
@@ -11,7 +11,7 @@ class ServConfig
public static $sharedIconPath = '_tK_sharedIconPath_';
public static $gameImagePath = "_tK_gameImagePath_";
public static function getSharedIconPath(string $filepath) : string
public static function getSharedIconPath(string $filepath='') : string
{
if($filepath){
return static::$sharedIconPath."/{$filepath}";
@@ -19,15 +19,12 @@ class ServConfig
return static::$sharedIconPath;
}
public static function getUserIconPath(string $filepath) : string
public static function getUserIconPath(string $filepath='') : string
{
if($filepath){
return AppConf::getUserIconPathWeb()."/{$filepath}";
}
return AppConf::getUserIconPathWeb();
return AppConf::getUserIconPathWeb($filepath);
}
public static function getGameImagePath(string $filepath) : string
public static function getGameImagePath(string $filepath='') : string
{
if($filepath){
return static::$gameImagePath."/{$filepath}";