From 53314e96195bb0ac30a98df63e66da2773626b03 Mon Sep 17 00:00:00 2001 From: satopian Date: Sat, 4 Jan 2025 16:12:04 +0900 Subject: [PATCH] potiboard.php --- potiboard5/potiboard.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/potiboard5/potiboard.php b/potiboard5/potiboard.php index f94ee2b..4d4a371 100644 --- a/potiboard5/potiboard.php +++ b/potiboard5/potiboard.php @@ -3,8 +3,8 @@ // POTI-board EVO // バージョン : -const POTI_VER = 'v6.62.3'; -const POTI_LOT = 'lot.20241230'; +const POTI_VER = 'v6.62.5'; +const POTI_LOT = 'lot.20250103'; /* (C) 2018-2024 POTI改 POTI-board redevelopment team @@ -1616,6 +1616,9 @@ function check_dir ($path): void { mkdir($path, PERMISSION_FOR_DIR); chmod($path, PERMISSION_FOR_DIR); } + if (!is_readable($path) || !is_writable($path)){ + chmod($path, PERMISSION_FOR_DIR); + } if (!is_dir($path)) die($path . $msg['041']); if (!is_readable($path)) die($path . $msg['042']); if (!is_writable($path)) die($path . $msg['043']);