summaryrefslogtreecommitdiff
path: root/ext/sybase_ct
diff options
context:
space:
mode:
authorTimm Friebe <thekid@php.net>2008-11-08 11:47:35 +0000
committerTimm Friebe <thekid@php.net>2008-11-08 11:47:35 +0000
commit87ad2dd0676604b32802970d3372505f3e76065a (patch)
treeddacce7188c2521897f663b03991dcddb011c11e /ext/sybase_ct
parent847e9922d1f1f7819c43601fc3b1e8d9c4b8bad0 (diff)
downloadphp-git-87ad2dd0676604b32802970d3372505f3e76065a.tar.gz
- Changed source to read host, user and password from environment
# E.g. nmake test TESTS=ext/sybase_ct PHP_SYBASE_HOST=db PHP_SYBASE_USER=sa PHP_SYBASE_PASS=***
Diffstat (limited to 'ext/sybase_ct')
-rw-r--r--ext/sybase_ct/tests/test.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/sybase_ct/tests/test.inc b/ext/sybase_ct/tests/test.inc
index d9a587f040..107a74d856 100644
--- a/ext/sybase_ct/tests/test.inc
+++ b/ext/sybase_ct/tests/test.inc
@@ -5,9 +5,9 @@
*/
// Change if needed
- define('HOST', '****');
- define('USER', '****');
- define('PASSWORD', '****');
+ define('HOST', getenv('PHP_SYBASE_HOST'));
+ define('USER', getenv('PHP_SYBASE_USER'));
+ define('PASSWORD', getenv('PHP_SYBASE_PASS'));
define('TEMPDB', 'tempdb');
// {{{ bool sybase_msg_handler(int msgnumber, int severity, int state, int line, string text)