mirror of
https://github.com/getgrav/grav.git
synced 2025-02-20 19:56:53 +01:00
Regression: Fixed Grav update bug [#2722]
This commit is contained in:
parent
3514ff64fe
commit
77887d83e9
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user