php3 does not allow to use TRUE or FALSE constant with the 'define()' function

This commit is contained in:
Loïc Chapeaux
2001-09-19 19:32:12 +00:00
parent d614085c16
commit a5f1cc846e
2 changed files with 7 additions and 5 deletions

View File

@@ -6,13 +6,15 @@ $Id$
$Source$
2001-09-19 Marc Delisle <lem9@users.sourceforge.net>
* tbl_properties.php3, db_details.php3, lang/*: start to merge new
messages with parameters
* tbl_properties.php3, db_details.php3, lang/*: start to merge new messages
with parameters.
2001-09-19 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* main.php3: merged patch #462787 (Home page for unpriviliged user) thanks
to Piotr Roszatycki <d3xter at users.sourceforge.net>.
* lang/italian.inc.php3: updated thanks to Pietro Danesi.
* defines.inc.php3: php3 does not allow to use TRUE or FALSE constants with
the 'define()' function.
2001-09-18 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* tbl_create.php3; tbl_addfield.php3: fixed a bug with "auto_increment"

View File

@@ -35,16 +35,16 @@ if (!defined('PHP_INT_VERSION')) {
define('PHP_INT_VERSION', (int)sprintf('%d%02d%02d', $match[1], $match[2], $match[3]));
unset($match);
} else {
define('PHP_INT_VERSION', FALSE);
define('PHP_INT_VERSION', 0);
}
}
// Whether the os php is running on is windows or not
if (!defined('PMA_WINDOWS')) {
if (defined('PHP_OS') && eregi('win', PHP_OS)) {
define('PMA_WINDOWS', TRUE);
define('PMA_WINDOWS', 1);
} else {
define('PMA_WINDOWS', FALSE);
define('PMA_WINDOWS', 0);
}
}