PHP 8.3 문법에서 경고 나오는 문법 수정
This commit is contained in:
1 parent
90472ffff3
commit
c51c95f8c8
2 files changed
+7
-2
No files matched your search
@@ -21,6 +21,9 @@ RUN { \
|
||||
ENV TZ=Asia/Seoul
|
||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||
|
||||
# 운영 서버와 동일하게 production 설정 사용 (display_errors=Off). 경고/알림이 JSON 응답에 섞이지 않게 한다.
|
||||
RUN cp "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
|
||||
|
||||
RUN { \
|
||||
echo 'mysqli.max_persistent = 1'; \
|
||||
echo 'mysqli.max_links = -1'; \
|
||||
|
||||
@@ -90,7 +90,8 @@ class MenuCollection extends DBMethodContainer
|
||||
FROM app
|
||||
WHERE AppType=? AND Status=1";
|
||||
$stmt = $this->mysqli->prepare($query);
|
||||
$stmt->bind_param("i", $this->getTypingAppType($appGroup, $language));
|
||||
$appType = $this->getTypingAppType($appGroup, $language);
|
||||
$stmt->bind_param("i", $appType);
|
||||
$stmt->execute();
|
||||
$stmt->bind_result($appID, $appName, $koreanName);
|
||||
|
||||
@@ -159,7 +160,8 @@ class MenuCollection extends DBMethodContainer
|
||||
FROM app AS A
|
||||
INNER JOIN active_app AS AA ON A.AppID = AA.AppID AND A.AppType=? AND AA.MaestroID=?";
|
||||
$stmt = $this->mysqli->prepare($query);
|
||||
$stmt->bind_param("ii", $this->getTypingAppType($appGroup, $language), $maestroID);
|
||||
$appType = $this->getTypingAppType($appGroup, $language);
|
||||
$stmt->bind_param("ii", $appType, $maestroID);
|
||||
$stmt->execute();
|
||||
$stmt->bind_result($appID);
|
||||
|
||||
|
||||
Reference in new issue
Block a user