helly           Wed Nov  6 06:59:14 2002 EDT

  Modified files:              
    /php4/ext/dba/tests skipif.inc 
  Log:
  -convert from dos to unix file 
  -disallow cdb_make
  
  
Index: php4/ext/dba/tests/skipif.inc
diff -u php4/ext/dba/tests/skipif.inc:1.2 php4/ext/dba/tests/skipif.inc:1.3
--- php4/ext/dba/tests/skipif.inc:1.2   Sun Nov  3 10:22:32 2002
+++ php4/ext/dba/tests/skipif.inc       Wed Nov  6 06:59:14 2002
@@ -1,12 +1,15 @@
-<?php
-       if (!extension_loaded('dba')) die('skip dba extension not available');
-       if (!function_exists('dba_handlers')) die ('skip dba_handlers() not 
available');
-       if (!sizeof(dba_handlers())) die('skip no handlers installed');
-       // CDB currently supports only reading 
-       $handler = dba_handlers(); 
-       if ($handler[0]=='cdb') {
-               if (count($handler)==1) {
-                       die('skip CDB currently supports only reading ');
-               }
-       }
-?>
+<?php
+       if (!extension_loaded('dba')) die('skip dba extension not available');
+       if (!function_exists('dba_handlers')) die ('skip dba_handlers() not 
+available');
+       if (!sizeof(dba_handlers())) die('skip no handlers installed');
+       // CDB currently supports only reading 
+       $handler = dba_handlers(); 
+       if ($handler[0]=='cdb') {
+               if (count($handler)==1) {
+                       die('skip CDB currently supports only reading');
+               }
+               if ($handler[1]=='cdb_make' && count($handler)==2) {
+                       die('skip CDB currently supports only reading and creating');
+               }
+       }
+?>



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to