svn: /phpdoc/en/trunk/reference/win32service/ examples.xml functions/win32-create-service.xml
| From: | Richard Quadling | Date: | Thu, 21 Oct 2010 19:17:55 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/win32service/ examples.xml functions/win32-create-service.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7283@lists.php.net to get a copy of this message | ||
rquadling Thu, 21 Oct 2010 19:17:55 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=304598
Log:
Amended examples: Wrap filename in double quotes to protect filenames with spaces.
Changed paths:
U phpdoc/en/trunk/reference/win32service/examples.xml
U phpdoc/en/trunk/reference/win32service/functions/win32-create-service.xml
Modified: phpdoc/en/trunk/reference/win32service/examples.xml
===================================================================
--- phpdoc/en/trunk/reference/win32service/examples.xml 2010-10-21 19:11:22 UTC (rev 304597)
+++ phpdoc/en/trunk/reference/win32service/examples.xml 2010-10-21 19:17:55 UTC (rev 304598)
@@ -14,7 +14,7 @@
'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
));
?>
]]>
Modified: phpdoc/en/trunk/reference/win32service/functions/win32-create-service.xml
===================================================================
--- phpdoc/en/trunk/reference/win32service/functions/win32-create-service.xml 2010-10-21 19:11:22
UTC (rev 304597)
+++ phpdoc/en/trunk/reference/win32service/functions/win32-create-service.xml 2010-10-21 19:17:55
UTC (rev 304598)
@@ -189,7 +189,7 @@
'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);
?>