thekid Sat Nov 8 11:47:35 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/sybase_ct/tests test.inc Log: - 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=*** http://cvs.php.net/viewvc.cgi/php-src/ext/sybase_ct/tests/test.inc?r1=1.4.6.3&r2=1.4.6.3.2.1&diff_format=u Index: php-src/ext/sybase_ct/tests/test.inc diff -u php-src/ext/sybase_ct/tests/test.inc:1.4.6.3 php-src/ext/sybase_ct/tests/test.inc:1.4.6.3.2.1 --- php-src/ext/sybase_ct/tests/test.inc:1.4.6.3 Tue May 22 11:36:55 2007 +++ php-src/ext/sybase_ct/tests/test.inc Sat Nov 8 11:47:35 2008 @@ -1,13 +1,13 @@ <?php /* This file is part of PHP test framework for ext/sybase_ct * - * $Id: test.inc,v 1.4.6.3 2007/05/22 11:36:55 thekid Exp $ + * $Id: test.inc,v 1.4.6.3.2.1 2008/11/08 11:47:35 thekid Exp $ */ // 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)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php