PHP 8.0 undefined variable 오류 수정
uri.lib.php 에서 uri.class.php 사용하지않고 있음.
This commit is contained in:
@ -346,7 +346,7 @@ class PHPExcel_Calculation_Statistical
|
|||||||
$y = $x;
|
$y = $x;
|
||||||
if ($y > 0.0 && $y <= LOG_GAMMA_X_MAX_VALUE) {
|
if ($y > 0.0 && $y <= LOG_GAMMA_X_MAX_VALUE) {
|
||||||
if ($y <= EPS) {
|
if ($y <= EPS) {
|
||||||
$res = -log(y);
|
$res = -log($y);
|
||||||
} elseif ($y <= 1.5) {
|
} elseif ($y <= 1.5) {
|
||||||
// ---------------------
|
// ---------------------
|
||||||
// EPS .LT. X .LE. 1.5
|
// EPS .LT. X .LE. 1.5
|
||||||
@ -677,7 +677,7 @@ class PHPExcel_Calculation_Statistical
|
|||||||
$q = $p - 0.5;
|
$q = $p - 0.5;
|
||||||
|
|
||||||
// computation for p close to 0.5
|
// computation for p close to 0.5
|
||||||
if (abs($q) <= split1) {
|
if (abs($q) <= $split1) {
|
||||||
$R = $const1 - $q * $q;
|
$R = $const1 - $q * $q;
|
||||||
$z = $q * ((((((($a7 * $R + $a6) * $R + $a5) * $R + $a4) * $R + $a3) * $R + $a2) * $R + $a1) * $R + $a0) /
|
$z = $q * ((((((($a7 * $R + $a6) * $R + $a5) * $R + $a4) * $R + $a3) * $R + $a2) * $R + $a1) * $R + $a0) /
|
||||||
((((((($b7 * $R + $b6) * $R + $b5) * $R + $b4) * $R + $b3) * $R + $b2) * $R + $b1) * $R + 1);
|
((((((($b7 * $R + $b6) * $R + $b5) * $R + $b4) * $R + $b3) * $R + $b2) * $R + $b1) * $R + 1);
|
||||||
|
|||||||
@ -327,7 +327,7 @@ function is_vaild_callback($callback){
|
|||||||
function CheckCommonTypeDate($strDate) {
|
function CheckCommonTypeDate($strDate) {
|
||||||
$strDate = preg_replace("/[^0-9]/", "", $strDate);
|
$strDate = preg_replace("/[^0-9]/", "", $strDate);
|
||||||
if ($strDate){
|
if ($strDate){
|
||||||
if (!checkdate(substr($strDate,4,2),substr($strDate,6,2),substr($rsvTime,0,4)))
|
if (!checkdate(substr($strDate,4,2),substr($strDate,6,2),substr($strDate,0,4)))
|
||||||
return "예약날짜오류";
|
return "예약날짜오류";
|
||||||
if (substr($strDate,8,2)>23 || substr($strDate,10,2)>59) return false;
|
if (substr($strDate,8,2)>23 || substr($strDate,10,2)>59) return false;
|
||||||
return "예약날짜오류";
|
return "예약날짜오류";
|
||||||
|
|||||||
@ -138,7 +138,7 @@ function shop_short_url_clean($string_url, $url, $page_name, $array_page_names){
|
|||||||
$add_param = '?'.http_build_query($result,'','&');
|
$add_param = '?'.http_build_query($result,'','&');
|
||||||
}
|
}
|
||||||
|
|
||||||
if( $add_qry ){
|
if( isset($add_qry) ){
|
||||||
$add_param .= $add_param ? '&'.$add_qry : '?'.$add_qry;
|
$add_param .= $add_param ? '&'.$add_qry : '?'.$add_qry;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,8 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
if (!defined('_GNUBOARD_')) exit;
|
if (!defined('_GNUBOARD_')) exit;
|
||||||
|
|
||||||
include_once(dirname(__FILE__) .'/URI/uri.class.php');
|
|
||||||
|
|
||||||
// 짧은 주소 형식으로 만들어서 가져온다.
|
// 짧은 주소 형식으로 만들어서 가져온다.
|
||||||
function get_pretty_url($folder, $no='', $query_string='', $action='')
|
function get_pretty_url($folder, $no='', $query_string='', $action='')
|
||||||
{
|
{
|
||||||
|
|||||||
@ -904,7 +904,7 @@ class XPayClient
|
|||||||
*/
|
*/
|
||||||
function StringToHex($MertKey)
|
function StringToHex($MertKey)
|
||||||
{
|
{
|
||||||
$szKey;
|
$szKey = array();
|
||||||
$szMertKey = str_split($MertKey,2);
|
$szMertKey = str_split($MertKey,2);
|
||||||
for ($i = 0 ; $i < 16 ; $i++)
|
for ($i = 0 ; $i < 16 ; $i++)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -242,7 +242,7 @@ if($config['cf_sms_type'] == 'LMS') {
|
|||||||
function CheckCommonTypeDate($strDate) {
|
function CheckCommonTypeDate($strDate) {
|
||||||
$strDate=preg_replace("/[^0-9]/","",$strDate);
|
$strDate=preg_replace("/[^0-9]/","",$strDate);
|
||||||
if ($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 "예약시간이 잘못되었습니다";
|
if (substr($strDate,8,2)>23 || substr($strDate,10,2)>59) return "예약시간이 잘못되었습니다";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user