fixup! New PHPSessionID function prepared

Took 50 seconds
This commit is contained in:
Tobias Hopp 2020-07-07 19:25:33 +02:00
parent e044cc3c2a
commit e93e3e88a7

View File

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