summaryrefslogtreecommitdiff
path: root/ext/ext_skel_win32.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ext_skel_win32.php')
-rw-r--r--ext/ext_skel_win32.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/ext_skel_win32.php b/ext/ext_skel_win32.php
index 770c6f48bb..ba44ae6089 100644
--- a/ext/ext_skel_win32.php
+++ b/ext/ext_skel_win32.php
@@ -7,12 +7,12 @@ if (php_sapi_name() != "cli") {
}
/*
This script can be used on Win32 systems
-
+
1) Make sure you have CygWin installed
2) Adjust the $cygwin_path to match your installation
3) Change the environment cariable PATHEXT to include .PHP
4) run ext_skel --extname=...
- the first time you run this script you will be asked to
+ the first time you run this script you will be asked to
associate it with a program. chooses the CLI version of php.
*/
@@ -39,7 +39,7 @@ $fp = fopen("$extname/$extname.php", "rb");
if ($fp) {
$php_file = fread($fp, filesize("$extname/$extname.php"));
fclose($fp);
-
+
$php_file = str_replace("dl('", "dl('php_", $php_file);
$fp = fopen("$extname/$extname.php", "wb");
if ($fp) {