mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-15 13:32:41 +08:00
scrape add cache
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.8.0');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2023-02-21');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2023-03-04');
|
||||
defined('IN_TRACKER') || define('IN_TRACKER', false);
|
||||
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
|
||||
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");
|
||||
|
||||
@@ -1132,7 +1132,7 @@ function get_passkey_by_authkey($authkey)
|
||||
}
|
||||
$uid = $arr[1];
|
||||
$torrentRep = new \App\Repositories\TorrentRepository();
|
||||
$decrypted = $torrentRep->checkTrackerReportAuthKey($_REQUEST['authkey']);
|
||||
$decrypted = $torrentRep->checkTrackerReportAuthKey($authkey);
|
||||
if (empty($decrypted)) {
|
||||
throw new \InvalidArgumentException("Invalid authkey: $authkey");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user