diff --git a/app/Console/Commands/Test.php b/app/Console/Commands/Test.php index 85483c6c9..bad0a107c 100644 --- a/app/Console/Commands/Test.php +++ b/app/Console/Commands/Test.php @@ -101,12 +101,9 @@ public function __construct() */ public function handle() { - $file = resource_path("geoip/GeoLite2-ASN.mmdb"); - $file = resource_path("geoip/GeoLite2-City.mmdb"); - $reader = new Reader($file); - $asn = $reader->asn("94.16.120.0"); -// $result = \Nexus\Plugin\Plugin::listEnabled(); - dd($asn); + $torrent = Torrent::query()->find(12, ['info_hash']); + $infoHash = $torrent->info_hash; + dd($infoHash === rawurldecode("%15%24%f3%e6%91e%f6%fbT%be%3f%b8%f3%f7_%f5%f6%aa%3fv")); } } diff --git a/include/constants.php b/include/constants.php index fb01740fe..dd1c21736 100644 --- a/include/constants.php +++ b/include/constants.php @@ -1,6 +1,6 @@ "", "chs" => "", "cht" => "", "ko" => "", "ja" => ""); $i = 0; @@ -515,7 +515,7 @@ function checkTorrentDict($dict, $key, $type = null) ------------------------------------------------------------------------------------------------------------------------- {$lang_takeupload_target[$langfolder_array[$i]]['mail_torrent']}{$lang_takeupload_target[$langfolder_array[$i]]['mail_here']}
-http://$BASEURL/details.php?id=$id&hit=1 +$baseUrl/details.php?id=$id&hit=1 ------{$lang_takeupload_target[$langfolder_array[$i]]['mail_yours']} {$lang_takeupload_target[$langfolder_array[$i]]['mail_team']} @@ -530,7 +530,14 @@ function checkTorrentDict($dict, $key, $type = null) $current_lang = $arr["lang"]; $to = $arr["email"]; - sent_mail($to,$SITENAME,$SITEEMAIL,change_email_encode(validlang($current_lang),$lang_takeupload_target[validlang($current_lang)]['mail_title'].$torrent),change_email_encode(validlang($current_lang),$body_arr[validlang($current_lang)]),"torrent upload",false,false,'',get_email_encode(validlang($current_lang)), "eYou"); + sent_mail( + $to,$SITENAME,$SITEEMAIL, + $lang_takeupload_target[validlang($current_lang)]['mail_title'], + $torrent, + validlang($current_lang), + $body_arr[validlang($current_lang)], + "torrent upload",false,false,'', + ); } } diff --git a/resources/views/filament/resources/user/user-resource/pages/user-profile.blade.php b/resources/views/filament/resources/user/user-resource/pages/user-profile.blade.php index 1ce335990..b40dbd89e 100644 --- a/resources/views/filament/resources/user/user-resource/pages/user-profile.blade.php +++ b/resources/views/filament/resources/user/user-resource/pages/user-profile.blade.php @@ -17,6 +17,11 @@ {{$record->email}} + + Passkey + {{$record->passkey}} + + {{__('label.status')}} {{$record->status}}