Skip to content

Commit

Permalink
Regression: Fixed Grav update bug [#2722]
Browse files Browse the repository at this point in the history
  • Loading branch information
mahagr committed Nov 8, 2019
1 parent 3514ff6 commit 77887d8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

1. [](#new)
* Added new `-r <job-id>` option for Schduler CLI command to force-run a job [#2720](https://github.com/getgrav/grav/issues/2720)
1. [](#bugfix)
* Regression: Fixed Grav update bug [#2722](https://github.com/getgrav/grav/issues/2722)

# v1.7.0-rc.1
## 11/06/2019
Expand Down
4 changes: 1 addition & 3 deletions system/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
die();
}

use Grav\Installer\Install;

require_once __DIR__ . '/src/Grav/Installer/Install.php';

return Install::instance();
return Grav\Installer\Install::instance();
2 changes: 1 addition & 1 deletion system/src/Grav/Installer/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public function prepare(): void
// Override Grav\Installer classes by using this version of Grav.
$loader->addClassMap($this->classMap);

$this->location = $location;
$this->location = dirname($location, 4);
}

/**
Expand Down

0 comments on commit 77887d8

Please sign in to comment.