From: Andrey Kutejko Date: Sun, 28 Jul 2013 12:25:14 +0000 (+0300) Subject: fix tests bootstrap X-Git-Tag: 0.5~110 X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=d4108f600ab6b315cce587eedfe4ee78530e42b6;p=ipf.git fix tests bootstrap --- diff --git a/t/project/htdocs/index.php b/t/project/htdocs/index.php index ca9ca05..949824f 100644 --- a/t/project/htdocs/index.php +++ b/t/project/htdocs/index.php @@ -1,10 +1,9 @@ run(); -$ipf_path = dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR; -$project_path = dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'project'; -set_include_path(get_include_path() . PATH_SEPARATOR . $ipf_path . PATH_SEPARATOR . $project_path); -require 'ipf.php'; -IPF::boot($ipf_path, $project_path); -// return IPF_Project::getInstance()->run();