Permalink
Browse files

Remove `/` from the `$app_path`

  • Loading branch information...
daif committed May 21, 2017
1 parent b071392 commit 676e42f7ee9220a1cf01c049b075e20a040464a3
Showing with 1 addition and 0 deletions.
  1. +1 −0 application/models/Admin/App_model.php
@@ -242,6 +242,7 @@ public function getMenu()
public function getByPath($app_path)
{
$this->loadApps();
$app_path = trim($app_path, '/');
if(isset($this->apps[$app_path]))
{
return $this->apps[$app_path];

0 comments on commit 676e42f

Please sign in to comment.