summaryrefslogtreecommitdiff
path: root/ext/pcre/upgrade-pcre.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcre/upgrade-pcre.php')
-rw-r--r--ext/pcre/upgrade-pcre.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/pcre/upgrade-pcre.php b/ext/pcre/upgrade-pcre.php
index a48f8d7604..6da627d750 100644
--- a/ext/pcre/upgrade-pcre.php
+++ b/ext/pcre/upgrade-pcre.php
@@ -68,11 +68,11 @@ function recurse($path)
// always include the config.h file
$content = file_get_contents($newfile);
- $newcontent = preg_replace('/#\s*ifdef HAVE_CONFIG_H\s*(.+)\s*#\s*endif/', '$1', $content);
+ //$newcontent = preg_replace('/#\s*ifdef HAVE_CONFIG_H\s*(.+)\s*#\s*endif/', '$1', $content);
- if ($content !== $newcontent) {
- file_put_contents($file, $newcontent);
- }
+ //if ($content !== $newcontent) {
+ // file_put_contents($file, $newcontent);
+ //}
echo "OK\n";
}