0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-09-18 18:25:18 +00:00

[3.1.0] version -> VERSION

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1693 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2008-04-25 05:47:36 +00:00
parent 6d9643a92e
commit 04b1ec33cb
3 changed files with 4 additions and 3 deletions

1
NEWS
View File

@ -24,6 +24,7 @@ NEWS ( CHANGELOG and HISTORY ) HTMLPurifier
+ HTMLPurifier_LanguageFactory::instance()
# Printer_ConfigForm's get*() functions were static-ified
! Allow index to be false for config from form creation
! Added HTMLPurifier::VERSION constant
- InterchangeBuilder now alphabetizes its lists
- Validation error in configdoc output fixed
- Iconv and other encoding errors muted even with custom error handlers that

View File

@ -58,7 +58,7 @@ class HTMLPurifier
public $version = '3.1.0-dev';
/** Constant with version of HTML Purifier */
const version = '3.1.0-dev';
const VERSION = '3.1.0-dev';
/** Global configuration object */
public $config;

View File

@ -78,8 +78,8 @@ if (!$c) {
exit;
}
$htmlpurifier_c = preg_replace(
'/const version = \'.+?\';/',
"const version = '$version';",
'/const VERSION = \'.+?\';/',
"const VERSION = '$version';",
$htmlpurifier_c,
1, $c
);