init
init($folder); - initialize the proxy switch in the specified folder (files necessary for the proxy switch to work are created in the folder)
the input Function accepts parameters:
$folder – the folder where the proxy switch will be initialized
After testing, the function returns the result of its work to the script :
true – successfully initializedfalse – failed to initialize