From de7dfb4fcba0ee7a1996ea4dc85085b9587d49ce Mon Sep 17 00:00:00 2001 From: romanb Date: Sun, 31 May 2009 11:51:36 +0000 Subject: [PATCH] [2.0] Cleaned up TestInit include path. --- tests/Doctrine/Tests/TestInit.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/Doctrine/Tests/TestInit.php b/tests/Doctrine/Tests/TestInit.php index 5af6d8f75..628908313 100644 --- a/tests/Doctrine/Tests/TestInit.php +++ b/tests/Doctrine/Tests/TestInit.php @@ -10,13 +10,8 @@ require_once '../lib/Doctrine/Common/ClassLoader.php'; $classLoader = new \Doctrine\Common\ClassLoader(); -$modelDir = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'models'; set_include_path( get_include_path() . PATH_SEPARATOR . __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'lib' - . PATH_SEPARATOR . $modelDir . DIRECTORY_SEPARATOR . 'cms' - . PATH_SEPARATOR . $modelDir . DIRECTORY_SEPARATOR . 'company' - . PATH_SEPARATOR . $modelDir . DIRECTORY_SEPARATOR . 'ecommerce' - . PATH_SEPARATOR . $modelDir . DIRECTORY_SEPARATOR . 'forum' );