charset_conversion needs the constants

This commit is contained in:
Marc Delisle
2002-07-05 19:54:05 +00:00
parent dd660c3532
commit 491c8cfabc
2 changed files with 6 additions and 5 deletions

View File

@@ -10,6 +10,7 @@ $Source$
2002-07-05 Marc Delisle <lem9@users.sourceforge.net>
* Documentation.html: about html entities in translations
* common.lib.php: charset_conversion needs the constants
2002-07-01 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* Documentation.html: coding standards and xhtml fixes.

View File

@@ -121,11 +121,6 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
*/
include('./libraries/mysql_wrappers.lib.php3');
/**
* Include charset conversion.
*/
include('./libraries/charset_conversion.lib.php3');
/**
* Gets constants that defines the PHP, MySQL... releases.
* This include must be located physically before any code that needs to
@@ -135,6 +130,11 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
*/
include('./libraries/defines.lib.php3');
/**
* Include charset conversion.
*/
include('./libraries/charset_conversion.lib.php3');
// For compatibility with old config.inc.php3
if (!isset($cfg['FileRevision']) || (int)substr($cfg['FileRevision'],13,3) < 116) {
include('./libraries/config_import.lib.php3');