fixup! New PHPSessionID function prepared
Took 50 seconds
This commit is contained in:
parent
e044cc3c2a
commit
e93e3e88a7
@ -48,6 +48,7 @@ function main()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
echo "Setting PHPSessionID...";
|
echo "Setting PHPSessionID...";
|
||||||
|
$id = $cmd[1];
|
||||||
$file = file_get_contents( './config.inc.php' );
|
$file = file_get_contents( './config.inc.php' );
|
||||||
$file = str_ireplace( "define( 'CURL_PHPSESSID', '' );", "define( 'CURL_PHPSESSID', '$id' );", $file );
|
$file = str_ireplace( "define( 'CURL_PHPSESSID', '' );", "define( 'CURL_PHPSESSID', '$id' );", $file );
|
||||||
file_put_contents( './config.inc.php', $file );
|
file_put_contents( './config.inc.php', $file );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user