Changeset 353 for trunk/xpressme_integration_kit
- Timestamp:
- Aug 2, 2009, 4:40:57 PM (15 years ago)
- Location:
- trunk/xpressme_integration_kit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/admin/index.php
r318 r353 169 169 echo "SERVER: ". $_SERVER['SERVER_SOFTWARE']. "<br />\n"; 170 170 echo "PHP Version: " . phpversion() . "<br />\n"; 171 echo 'libxml Version: ' . LIBXML_DOTTED_VERSION . "<br />\n"; 171 172 echo "MySQL Version: " . mysql_get_server_info() . "</text><br />"; 172 173 echo "XOOPS Version: " . XOOPS_VERSION . "</text><br />"; … … 232 233 echo "<label>" . "<strong>SERVER:</strong>" . ":</label><text>" . $_SERVER['SERVER_SOFTWARE'] . "</text><br />"; 233 234 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 />"; 234 236 echo "<label>" . "<strong>MySQL Version:</strong>" . ":</label><text>" . mysql_get_server_info() . "</text><br />"; 235 237 echo "<label>" . "<strong>XOOPS Version:</strong>" . ":</label><text>" . XOOPS_VERSION . "</text><br />"; -
trunk/xpressme_integration_kit/include/xml.php
r42 r353 85 85 $this->stack = array(); 86 86 $this->parent = &$this->document; 87 88 //libxml2 ver.2.7.0 -2.7.2 stripping leading angle brackets bug patch 89 if ( 90 LIBXML_DOTTED_VERSION == '2.7.0' 91 || LIBXML_DOTTED_VERSION == '2.7.1' 92 || LIBXML_DOTTED_VERSION == '2.7.2' 93 || ( 94 LIBXML_DOTTED_VERSION == '2.7.3' 95 && version_compare( PHP_VERSION, '5.2.9', '<' ) 96 ) 97 ) { 98 $data =str_replace('<','<',$data ); 99 $data =str_replace('>','>',$data ); 100 $data =str_replace('&','&',$data ); 101 } 102 //end Fix 103 87 104 // return xml_parse(&$this->parser, &$data, true) ? $this->document : NULL; // GIJ 88 105 $ret = @xml_parse($this->parser, $data, true) ? $this->document : NULL;
Note: See TracChangeset
for help on using the changeset viewer.