helly           Sat Dec  6 15:35:42 2003 EDT

  Modified files:              
    /php-src/ext/pgsql/tests    skipif.inc 
  Log:
  Do not dynamically load the extension in skipif
  
  
Index: php-src/ext/pgsql/tests/skipif.inc
diff -u php-src/ext/pgsql/tests/skipif.inc:1.3 php-src/ext/pgsql/tests/skipif.inc:1.4
--- php-src/ext/pgsql/tests/skipif.inc:1.3      Tue Jul 22 19:01:24 2003
+++ php-src/ext/pgsql/tests/skipif.inc  Sat Dec  6 15:35:41 2003
@@ -8,13 +8,6 @@
 
 include("config.inc");
 
-if (!extension_loaded("pgsql") && ini_get("enable_dl")) {
-  $dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
-  @dl("pgsql$dlext");
-}
-if (!extension_loaded("pgsql")) {
-    die("skip\n");
-}
 $conn = @pg_connect($conn_str);
 if (!is_resource($conn)) {
     die("skip could not connect\n");

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

Reply via email to