From 80a7db61c9fba53477c1ec0850bdffaf7b11657a Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 4 Dec 2008 08:17:57 +0000 Subject: Fix up the test framework to work now that we're only loading installed modules via the autoloader. --- index.php | 1 + 1 file changed, 1 insertion(+) (limited to 'index.php') diff --git a/index.php b/index.php index 938eb448..dd226f5b 100644 --- a/index.php +++ b/index.php @@ -51,6 +51,7 @@ if (PHP_SAPI == 'cli') { define('TEST_MODE', 1); @system('mkdir -p test/var/logs'); define('VARPATH', strtr(realpath('test/var') . '/', DIRECTORY_SEPARATOR, '/')); + @copy("var/database.php", VARPATH . "database.php"); } else { if (file_exists('var')) { define('VARPATH', strtr(realpath('var') . '/', DIRECTORY_SEPARATOR, '/')); -- cgit v1.2.3