]> git.andy128k.dev Git - ipf.git/commitdiff
canonicalize base pathes
authorAndrey Kutejko <andy128k@gmail.com>
Thu, 8 Jan 2015 14:35:46 +0000 (16:35 +0200)
committerAndrey Kutejko <andy128k@gmail.com>
Thu, 8 Jan 2015 14:35:46 +0000 (16:35 +0200)
ipf.php

diff --git a/ipf.php b/ipf.php
index ef89104bd12ff37d258fe2ec99507661100371eb..6b582bc53989f75dabbc4cd1d2726fa44815fa28 100644 (file)
--- a/ipf.php
+++ b/ipf.php
@@ -33,6 +33,9 @@ final class IPF
 
     public static function configure($project_root, $document_root)
     {
+        $project_root = realpath($project_root);
+        $document_root = realpath($document_root);
+
         self::$settings = IPF_Settings::create()
             ->apply(array(
                 'app_base'          => '',