Annotation of embedaddon/php/ext/odbc/tests/skipif.inc, revision 1.1.1.1

1.1       misho       1: <?php
                      2: 
                      3: if (!extension_loaded('odbc')) die('skip');
                      4: 
                      5: include 'config.inc';
                      6: 
                      7: $conn = @odbc_connect($dsn, $user, $pass);
                      8: if (!$conn) {
                      9:        die('skip could not connect');
                     10: }

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>