From e93e3e88a73118a4745306f0ef3423c828109197 Mon Sep 17 00:00:00 2001 From: Tobias Hopp Date: Tue, 7 Jul 2020 19:25:33 +0200 Subject: [PATCH] fixup! New PHPSessionID function prepared Took 50 seconds --- karaoke-management.php | 1 + 1 file changed, 1 insertion(+) diff --git a/karaoke-management.php b/karaoke-management.php index 9bcab67..6b77c32 100644 --- a/karaoke-management.php +++ b/karaoke-management.php @@ -48,6 +48,7 @@ function main() break; } echo "Setting PHPSessionID..."; + $id = $cmd[1]; $file = file_get_contents( './config.inc.php' ); $file = str_ireplace( "define( 'CURL_PHPSESSID', '' );", "define( 'CURL_PHPSESSID', '$id' );", $file ); file_put_contents( './config.inc.php', $file );