Skip to content

Commit

Permalink
lot.20250101
Browse files Browse the repository at this point in the history
  • Loading branch information
satopian committed Jan 1, 2025
1 parent 032cac8 commit e4ade17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion petitnote/functions.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
$functions_ver=20241230;
$functions_ver=20250101;
//編集モードログアウト
function logout(): void {
$resno=(int)filter_input(INPUT_GET,'resno',FILTER_VALIDATE_INT);
Expand Down
8 changes: 4 additions & 4 deletions petitnote/index.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
//Petit Note (c)さとぴあ @satopian 2021-2024
//Petit Note (c)さとぴあ @satopian 2021-2025
//1スレッド1ログファイル形式のスレッド式画像掲示板
$petit_ver='v1.66.2';
$petit_lot='lot.20241230';
$petit_ver='v1.66.3';
$petit_lot='lot.20250101';

$lang = ($http_langs = isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) ? $_SERVER['HTTP_ACCEPT_LANGUAGE'] : '')
? explode( ',', $http_langs )[0] : '';
Expand All @@ -17,7 +17,7 @@
die(__DIR__.'/functions.php'.($en ? ' does not exist.':'がありません。'));
}
require_once(__DIR__.'/functions.php');
if(!isset($functions_ver)||$functions_ver<20241230){
if(!isset($functions_ver)||$functions_ver<20250101){
die($en?'Please update functions.php to the latest version.':'functions.phpを最新版に更新してください。');
}
check_file(__DIR__.'/misskey_note.inc.php');
Expand Down

0 comments on commit e4ade17

Please sign in to comment.