* ensures each constant isn't already defined before to define it

* renamed PMA_INT_VERSION to PHP_INT_VERSION
This commit is contained in:
Loïc Chapeaux
2001-08-21 09:27:41 +00:00
parent 05a392964f
commit c705d707d9
3 changed files with 53 additions and 42 deletions

View File

@@ -484,7 +484,7 @@ if ($num_tables > 0) {
<?php echo $strSend . "\n"; ?>
<?php
// gzip and bzip2 encode features
if (PMA_INT_VERSION >= 40004) {
if (PHP_INT_VERSION >= 40004) {
$is_gzip = (isset($cfgGZipDump) && $cfgGZipDump && @function_exists('gzencode'));
$is_bzip = (isset($cfgBZipDump) && $cfgBZipDump && @function_exists('bzcompress'));
if ($is_gzip || $is_bzip) {