escape shell args
parent
325c57f30c
commit
e36d7f23ef
|
@ -98,6 +98,8 @@ EOT
|
|||
*/
|
||||
private function openBrowser($url)
|
||||
{
|
||||
$url = escapeshellarg($url);
|
||||
|
||||
if (defined('PHP_WINDOWS_VERSION_MAJOR')) {
|
||||
return passthru('start "web" explorer "' . $url . '"');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue