1
0

Highscores

This commit is contained in:
2020-01-17 00:55:41 +01:00
parent 81e129effa
commit 85f107e8bd
10 changed files with 230 additions and 191 deletions

View File

@@ -14,6 +14,7 @@ class Modules
/** @var UpdatesLog|null */ private $updateslog = null;
/** @var WebApps|null */ private $webapps = null;
/** @var MikescherGitGraph|null */ private $extendedgitgraph = null;
/** @var Highscores|null */ private $highscores = null;
/** @var Website */
private $site;
@@ -83,4 +84,9 @@ class Modules
return $this->extendedgitgraph;
}
public function Highscores(): Highscores
{
if ($this->highscores === null) { require_once 'modules/highscores.php'; $this->highscores = new Highscores($this->site); }
return $this->highscores;
}
}