From 8d24bbee2c0cce09baec89710acf1e8d9f1304e9 Mon Sep 17 00:00:00 2001 From: rurban Date: Thu, 27 Jan 2005 15:02:50 +0000 Subject: [PATCH] debugging is called before phpwiki. so stick with this small lib, which doesn't depend on anything else. git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@4467 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- tests/unit/test.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/test.php b/tests/unit/test.php index 3f6544cdb..a07b24b1d 100644 --- a/tests/unit/test.php +++ b/tests/unit/test.php @@ -88,7 +88,7 @@ $database_backends = array( // You have to create that database beforehand with our schema //$database_dsn = "mysql://wikiuser:@localhost/phpwiki"; $database_prefix = "test_"; -// For "cvs" see the seperate tests/unit_test_backend_cvs.php +// For "cvs" see the seperate tests/unit_test_backend_cvs.php (cvs is experimental) # Quiet warnings in IniConfig.php $HTTP_SERVER_VARS['REMOTE_ADDR'] = '127.0.0.1'; @@ -99,6 +99,7 @@ function printMemoryUsage($msg = '') { static $initmem = 0; if ($msg) echo $msg,"\n"; if ((defined('DEBUG') and (DEBUG & 8)) or !defined('DEBUG')) { + require_once("lib/stdlib.php"); echo "-- MEMORY USAGE: "; $oldmem = $mem; $mem = getMemoryUsage(); -- 2.45.0