svn: php/php-src/trunk/ext/oci8/tests/ connect.inc
| From: | Christopher Jones | Date: | Sun, 19 Jul 2009 16:08:44 +0000 |
| Subject: | svn: php/php-src/trunk/ext/oci8/tests/ connect.inc | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-59617@lists.php.net to get a copy of this message | ||
sixd Sun, 19 Jul 2009 16:08:44 +0000
URL: http://svn.php.net/viewvc?view=revision&revision=284373
Changed paths:
U php/php-src/trunk/ext/oci8/tests/connect.inc
Log:
make it easier for maintainers to set un/pw in environments that don't
pass shell variables
Modified: php/php-src/trunk/ext/oci8/tests/connect.inc
===================================================================
--- php/php-src/trunk/ext/oci8/tests/connect.inc 2009-07-19 16:08:24 UTC (rev 284372)
+++ php/php-src/trunk/ext/oci8/tests/connect.inc 2009-07-19 16:08:44 UTC (rev 284373)
@@ -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);