diff --git a/App/Install.php b/App/Install.php index 58ae942..6f762c0 100644 --- a/App/Install.php +++ b/App/Install.php @@ -152,7 +152,7 @@ public function initStorage() // delete symlink File::delete(ROOT_PATH . BASE_PATH . '/public'); // create symlink - return @symlink(Arikaim::storage()->getFuillPath('public'),ROOT_PATH . BASE_PATH . '/public'); + return @symlink(Arikaim::storage()->getFullPath('public'),ROOT_PATH . BASE_PATH . '/public'); } /** diff --git a/Extension/Extension.php b/Extension/Extension.php index 615b59f..72c85f3 100644 --- a/Extension/Extension.php +++ b/Extension/Extension.php @@ -340,7 +340,8 @@ public function addHomePageRoute($pattern, $class = null, $handlerMethod = null, if ($this->primary == true) { Arikaim::routes()->deleteHomePage(); } else { - $homePageRoute = Arikaim::routes()->getRoutes(['type' => 3]); // find home page route + // find home page route + $homePageRoute = Arikaim::routes()->getRoutes(['type' => 3]); if (empty($homePageRoute) == false) { return true; }