Skip to content

Commit

Permalink
必要の無いbasename()を削除。
Browse files Browse the repository at this point in the history
  • Loading branch information
satopian committed Nov 22, 2024
1 parent 01b26ab commit 1c4c46f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions potiboard5/potiboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

// POTI-board EVO
// バージョン :
const POTI_VER = 'v6.51.6';
const POTI_LOT = 'lot.20241121';
const POTI_VER = 'v6.51.7';
const POTI_LOT = 'lot.20241122';

/*
(C) 2018-2024 POTI改 POTI-board redevelopment team
Expand Down Expand Up @@ -1746,7 +1746,6 @@ function paintform(){

if(move_uploaded_file($pchtmp, $pchup)){//アップロード成功なら続行

$pchup=TEMP_DIR.basename($pchup);//ファイルを開くディレクトリを固定
if(!in_array(mime_content_type($pchup),["application/octet-stream","application/gzip","image/vnd.adobe.photoshop"])){
error(MSG045,$pchup);
}
Expand Down

0 comments on commit 1c4c46f

Please sign in to comment.