]> git.andy128k.dev Git - ipf.git/commitdiff
fix deps
authorAndrey Kutejko <andy128k@gmail.com>
Sat, 30 Aug 2014 08:39:34 +0000 (11:39 +0300)
committerAndrey Kutejko <andy128k@gmail.com>
Sat, 30 Aug 2014 08:39:34 +0000 (11:39 +0300)
composer.json
index.php
ipf.php

index 624dd8ab52ed9d30c20ebc6fd1baac9c4091ac99..15013d7f4731b4223c4e69fcfaa81c1d5fd5c363 100644 (file)
@@ -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"
index adeedf7ace9c62f0cff7032a84c39a983e26126a..69c8c8d61675131b4ff07fd81b52e06bbe1f7297 100644 (file)
--- 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 339e84b8b5c181f899d21e103f98ba8e9624ca0e..9150a213425a4947bfbf078d95917eb07c7dfe4a 100644 (file)
--- 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__);