Commit de7dfb4f authored by romanb's avatar romanb

[2.0] Cleaned up TestInit include path.

parent dcb1fcdb
...@@ -10,13 +10,8 @@ require_once '../lib/Doctrine/Common/ClassLoader.php'; ...@@ -10,13 +10,8 @@ require_once '../lib/Doctrine/Common/ClassLoader.php';
$classLoader = new \Doctrine\Common\ClassLoader(); $classLoader = new \Doctrine\Common\ClassLoader();
$modelDir = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'models';
set_include_path( set_include_path(
get_include_path() get_include_path()
. PATH_SEPARATOR . __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'lib' . 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'
); );
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment