]> granicus.if.org Git - php/commitdiff
make it easier for maintainers to set un/pw in environments that don't pass shell...
authorChristopher Jones <sixd@php.net>
Sun, 19 Jul 2009 16:08:24 +0000 (16:08 +0000)
committerChristopher Jones <sixd@php.net>
Sun, 19 Jul 2009 16:08:24 +0000 (16:08 +0000)
ext/oci8/tests/connect.inc

index 8a116290e7e215ad0c38cd0efc55847d87da404e..8fb0a7f07e416f24e051e567b536b75b5daa10d1 100644 (file)
@@ -1,6 +1,10 @@
 <?php
 
-include "details.inc";
+if (file_exists("details_local.inc")) {
+       include("details_local.inc"); // this file is not part of the source distribution; make it your own local variant of details.inc
+} else {
+       include "details.inc";
+}
 
 if (!empty($dbase)) {
        $c = @oci_connect($user, $password, $dbase);