From: Andrey Kutejko Date: Sat, 30 Aug 2014 08:39:34 +0000 (+0300) Subject: fix deps X-Git-Tag: 0.5~2 X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=077cfb789951c3dbbf9fd3854c50751bfa86cb31;p=ipf.git fix deps --- diff --git a/composer.json b/composer.json index 624dd8a..15013d7 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "require": { "pear/archive_tar": "1.3.*", "mustangostang/spyc": "0.5.*", - "andy128k/missing-tools": "0.1", + "andy128k/missing-tools": "0.1.*@dev", "andy128k/pegp": "0.*", "andy128k/routeexpression": "dev-master", "andy128k/ipf-template": "dev-master" diff --git a/index.php b/index.php index adeedf7..69c8c8d 100644 --- a/index.php +++ b/index.php @@ -4,6 +4,6 @@ $here = dirname(__FILE__); $project_path = $here . '/../project'; -require $project_path . '/vendor/andy128k/ipf/ipf.php'; +require $project_path . '/../vendor/andy128k/ipf/ipf.php'; return IPF::setUp($project_path, $here) && IPF_Project::getInstance()->run(); diff --git a/ipf.php b/ipf.php index 339e84b..9150a21 100644 --- a/ipf.php +++ b/ipf.php @@ -85,7 +85,7 @@ final class IPF return false; if (!$vendor_path) - $vendor_path = $project_path . '/vendor'; + $vendor_path = $project_path . '/../vendor'; IPF_ClassLoader::getInstance($vendor_path); IPF::$settings['ipf_path'] = dirname(__FILE__);