From 6525747060786efad127b7c86970c76ff85abdc3 Mon Sep 17 00:00:00 2001 From: rurban Date: Thu, 8 Jul 2004 11:11:33 +0000 Subject: [PATCH] config.php needs an user agent git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3871 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- tests/unit/test.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/test.php b/tests/unit/test.php index e2bbdba05..b6b3da8a6 100644 --- a/tests/unit/test.php +++ b/tests/unit/test.php @@ -43,6 +43,7 @@ ini_set('include_path', ini_get('include_path') . $ini_sep . $rootdir); # This quiets a warning in config.php $HTTP_SERVER_VARS['REMOTE_ADDR'] = '127.0.0.1'; +$HTTP_SERVER_VARS['HTTP_USER_AGENT'] = "PHPUnit"; define('GROUP_METHOD', 'NONE'); # Other needed files -- 2.45.0