From 0df2484b8eb7347d1d233a73323300a70e141bd6 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 20 Jan 2018 04:23:46 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9E=84=EC=8B=9C=20=EB=A9=94=EC=9D=BC=20?= =?UTF-8?q?=ED=85=8C=EC=8A=A4=ED=8A=B8=EB=A5=BC=20=EC=9C=84=ED=95=B4=20@lo?= =?UTF-8?q?calhost=20=EC=82=AC=EC=9A=A9=EA=B0=80=EB=8A=A5=ED=95=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20String=20static=20=ED=95=A8=EC=88=98=20?= =?UTF-8?q?=EB=AC=B8=EC=A0=9C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- d_setting/set.php | 2 +- f_func/class._String.php | 4 ++-- f_func/class._Validation.php | 5 ++++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/d_setting/set.php b/d_setting/set.php index 7627c9db..2405cdb0 100644 --- a/d_setting/set.php +++ b/d_setting/set.php @@ -6,6 +6,6 @@ sammo localhost 25 test -lemein +letmein @localhost */ diff --git a/f_func/class._String.php b/f_func/class._String.php index be0865eb..207f32f0 100644 --- a/f_func/class._String.php +++ b/f_func/class._String.php @@ -154,7 +154,7 @@ class _String { return $str; } - function Fill($str, $maxsize, $ch) { + static function Fill($str, $maxsize, $ch) { $size = strlen($str); $count = ($maxsize - $size) / 2; @@ -169,7 +169,7 @@ class _String { return $string; } - function Fill2($str, $maxsize, $ch='0') { + static function Fill2($str, $maxsize, $ch='0') { $size = strlen($str); $count = ($maxsize - $size); diff --git a/f_func/class._Validation.php b/f_func/class._Validation.php index 6e919202..0d7bd6bb 100644 --- a/f_func/class._Validation.php +++ b/f_func/class._Validation.php @@ -1,6 +1,6 @@