Added example env

This commit is contained in:
2026-02-05 22:56:44 +01:00
parent 96e3def13e
commit 0055d0b175
4 changed files with 3 additions and 3 deletions

View File

@@ -1 +0,0 @@
fv

View File

@@ -7,7 +7,7 @@ use RomhackPlazaFS\RomhackPlazaFS;
defined( 'ROMHACKPLAZA_FS' ) || exit;
class Downloadfilelist extends Abstract_Endpoint {
class Entryfilelist extends Abstract_Endpoint {
private int $post_id;
private string $custom_post_type;

View File

@@ -42,6 +42,7 @@ class Generatetestkey extends Abstract_Endpoint {
$end = base64_encode( $json ) . "|" . $sig;
RomhackPlazaFS::success_response( [ 'zeus' => $end ] );
}

View File

@@ -21,7 +21,7 @@ trait SecurityTrait {
if( count( $enc_info ) < 2 )
throw new \Exception();
} catch ( \Exception $e ){
RomhackPlazaFS::fatal_stop( 400, "There are some missing informations for reaching Zeus...");
RomhackPlazaFS::fatal_stop( 400, "There are some missing informations for reaching Zeus..." );
}
$json = base64_decode( $enc_info[0] );