mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Amended examples: Wrap filename in double quotes to protect filenames with spaces.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304598 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
f4544fe476
commit
b47b285d95
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ win32_create_service(array(
|
|||
'service' => 'dummyphp', # the name of your service
|
||||
'display' => 'sample dummy PHP service', # short description
|
||||
'description' => 'This is a dummy Windows service created using PHP.', # long description
|
||||
'params' => __FILE__ . ' run', # path to the script and parameters
|
||||
'params' => '"' . __FILE__ . '" run', # path to the script and parameters
|
||||
));
|
||||
?>
|
||||
]]>
|
||||
|
|
|
@ -189,7 +189,7 @@ $x = win32_create_service(array(
|
|||
'service' => 'dummyphp', # the name of your service
|
||||
'display' => 'sample dummy PHP service', # short description
|
||||
'description' => 'This is a dummy Windows service created using PHP.', # long description
|
||||
'params' => __FILE__ . ' run', # path to the script and parameters
|
||||
'params' => '"' . __FILE__ . '" run', # path to the script and parameters
|
||||
));
|
||||
debug_zval_dump($x);
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue