Skip to content

Commit

Permalink
=
Browse files Browse the repository at this point in the history
  • Loading branch information
arikaim-repository committed Sep 4, 2020
1 parent 62e5691 commit f00493b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion App/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

/**
Expand Down
3 changes: 2 additions & 1 deletion Extension/Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f00493b

Please sign in to comment.