Support IDNA - internationalized domain names
[phancap.git] / src / phancap / Config.php
index e45f08b38042c7ff9f9dab36cc22517775a51e8c..4c0617ecc9867c7f6f867f10502a81d88c12fdf0 100644 (file)
@@ -234,7 +234,7 @@ class Config
      * @return string Directory of URL without trailing slash,
      *                and without .phar file
      */
-    protected function getCurrentUrlDir()
+    public function getCurrentUrlDir()
     {
         $url = $this->getCurrentUrl();
         $url = preg_replace('/\?.*$/', '', $url);