Update of /cvsroot/phpxd/phpXD/include/dom
In directory usw-pr-cvs1:/tmp/cvs-serv11973/include/dom
Modified Files:
DOMImplementation.php
Log Message:
Index: DOMImplementation.php
===================================================================
RCS file: /cvsroot/phpxd/phpXD/include/dom/DOMImplementation.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** DOMImplementation.php 2002/01/29 14:09:58 1.2
--- DOMImplementation.php 2002/01/29 17:47:31 1.3
***************
*** 25,31 ****
* @returns boolean
*/
! function hasFeature($feature, $version) {
if (($feature == "XML") || ($feature == "Core")) {
! if ($version == "1.0") {
return true;
}
--- 25,32 ----
* @returns boolean
*/
! function hasFeature($feature, $version = "1.0") {
if (($feature == "XML") || ($feature == "Core")) {
! if (($version == "1.0") ||
! ($version = "2.0")) {
return true;
}
|