Regression: Fixed Grav update bug [#2722]

This commit is contained in:
Matias Griese 2019-11-08 12:56:03 +02:00
parent 3514ff64fe
commit 77887d83e9
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -10,8 +10,6 @@ if (!defined('GRAV_ROOT')) {
die();
}
use Grav\Installer\Install;
require_once __DIR__ . '/src/Grav/Installer/Install.php';
return Install::instance();
return Grav\Installer\Install::instance();

View File

@ -186,7 +186,7 @@ class Install
// Override Grav\Installer classes by using this version of Grav.
$loader->addClassMap($this->classMap);
$this->location = $location;
$this->location = dirname($location, 4);
}
/**