mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-06 00:06:54 +02:00
Fix offline fatal error on GPM initialization
This commit is contained in:
@@ -345,7 +345,9 @@ class Admin
|
||||
public function gpm()
|
||||
{
|
||||
if (!$this->gpm) {
|
||||
$this->gpm = new GPM();
|
||||
try {
|
||||
$this->gpm = new GPM();
|
||||
} catch (\Exception $e) {}
|
||||
}
|
||||
|
||||
return $this->gpm;
|
||||
|
||||
Reference in New Issue
Block a user