Fix offline fatal error on GPM initialization

This commit is contained in:
Flavio Copes
2015-09-01 18:14:54 +02:00
parent b90ea6e550
commit 72ac5c0b89

View File

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