mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
number format dashboard + improve scrape 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-03-04');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2023-03-05');
|
||||
defined('IN_TRACKER') || define('IN_TRACKER', false);
|
||||
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
|
||||
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");
|
||||
|
||||
@@ -45,10 +45,10 @@ function block_browser()
|
||||
|
||||
function benc_resp($d)
|
||||
{
|
||||
do_log(nexus_json_encode($d));
|
||||
benc_resp_raw(\Rhilip\Bencode\Bencode::encode($d));
|
||||
}
|
||||
function benc_resp_raw($x) {
|
||||
do_log($x);
|
||||
header("Content-Type: text/plain; charset=utf-8");
|
||||
header("Pragma: no-cache");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user