XPressME Integration Kit

Trac

Changeset 395 for trunk


Ignore:
Timestamp:
Oct 7, 2009, 8:41:33 PM (15 years ago)
Author:
toemon
Message:

LIBXML_DOTTED_VERSIONが定義されていない場合の警告が出るバグ修正 Fixes #219

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/admin/index.php

    r353 r395  
    169169                echo "SERVER:  ". $_SERVER['SERVER_SOFTWARE']. "<br />\n"; 
    170170                echo "PHP Version:   " . phpversion() . "<br />\n"; 
    171                 echo 'libxml Version:  ' . LIBXML_DOTTED_VERSION . "<br />\n"; 
     171                echo 'libxml Version:  '; 
     172                if (defined('LIBXML_DOTTED_VERSION')) echo LIBXML_DOTTED_VERSION ; else echo "Can't detect."; 
     173                echo "<br />\n";; 
    172174                echo "MySQL Version:   " . mysql_get_server_info() . "</text><br />"; 
    173175                echo "XOOPS Version:   " . XOOPS_VERSION . "</text><br />"; 
     
    233235                echo "<label>" . "<strong>SERVER:</strong>" . ":</label><text>" . $_SERVER['SERVER_SOFTWARE'] . "</text><br />"; 
    234236                echo "<label>" . "<strong>PHP Version:</strong>" . ":</label><text>" . phpversion() . "</text><br />"; 
    235                 echo "<label>" . "<strong>libxml Version:</strong>" . ":</label><text>" . LIBXML_DOTTED_VERSION . "</text><br />"; 
     237                echo "<label>" . "<strong>libxml Version:</strong>" . ":</label><text>"; 
     238                if (defined('LIBXML_DOTTED_VERSION')) echo LIBXML_DOTTED_VERSION ; else echo "Can't detect."; 
     239                echo "</text><br />"; 
    236240                echo "<label>" . "<strong>MySQL Version:</strong>" . ":</label><text>" . mysql_get_server_info() . "</text><br />"; 
    237241                echo "<label>" . "<strong>XOOPS Version:</strong>" . ":</label><text>" . XOOPS_VERSION . "</text><br />"; 
Note: See TracChangeset for help on using the changeset viewer.