From: Andrey Kutejko Date: Thu, 8 Jan 2015 14:35:46 +0000 (+0200) Subject: canonicalize base pathes X-Git-Tag: 0.6~82 X-Git-Url: https://git.andy128k.dev/?a=commitdiff_plain;h=a92ccf238d06b26f67b545c8daf769228d1093ad;p=ipf.git canonicalize base pathes --- diff --git a/ipf.php b/ipf.php index ef89104..6b582bc 100644 --- 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' => '',