0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-11-09 15:28:40 +00:00

Update release script to compensate for new variable format

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1476 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2008-01-04 23:54:12 +00:00
parent ae1c8f47cc
commit beefb11879

View File

@ -66,8 +66,8 @@ if (!$c) {
exit;
}
$htmlpurifier_c = preg_replace(
'/var \$version = \'.+?\';/',
"var \$version = '$version';",
'/public \$version = \'.+?\';/',
"public \$version = '$version';",
$htmlpurifier_c,
1, $c
);
@ -79,8 +79,8 @@ file_put_contents('library/HTMLPurifier.php', $htmlpurifier_c);
$config_c = file_get_contents('library/HTMLPurifier/Config.php');
$config_c = preg_replace(
'/var \$version = \'.+?\';/',
"var \$version = '$version';",
'/public \$version = \'.+?\';/',
"public \$version = '$version';",
$config_c,
1, $c
);