PHP 8.0 undefined variable 오류 수정

uri.lib.php 에서 uri.class.php 사용하지않고 있음.
This commit is contained in:
kit rio
2022-05-25 18:34:52 +09:00
parent d3d7b9aadc
commit 767c3c5562
6 changed files with 6 additions and 8 deletions

View File

@ -904,7 +904,7 @@ class XPayClient
*/
function StringToHex($MertKey)
{
$szKey;
$szKey = array();
$szMertKey = str_split($MertKey,2);
for ($i = 0 ; $i < 16 ; $i++)
{

View File

@ -242,7 +242,7 @@ if($config['cf_sms_type'] == 'LMS') {
function CheckCommonTypeDate($strDate) {
$strDate=preg_replace("/[^0-9]/","",$strDate);
if ($strDate) {
if (!checkdate(substr($strDate,4,2),substr($strDate,6,2),substr($rsvTime,0,4))) return "예약날짜가 잘못되었습니다";
if (!checkdate(substr($strDate,4,2),substr($strDate,6,2),substr($strDate,0,4))) return "예약날짜가 잘못되었습니다";
if (substr($strDate,8,2)>23 || substr($strDate,10,2)>59) return "예약시간이 잘못되었습니다";
}
}