]> 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:21:35 +0000 (16:21 +0000)
committerChristopher Jones <sixd@php.net>
Sun, 19 Jul 2009 16:21:35 +0000 (16:21 +0000)
ext/oci8/tests/connect.inc

index 452976e8fe4577dfc3ee51e31bc45828d8a3f8e0..b5e5c7522e40ad8d3ff38fab809f519b3f2798d4 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";
+}
 
 /* 
  * You should have privileges to create tables in this schema