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 );