1
0

add reading history to /about
Some checks failed
Build Docker and Deploy / Build Docker (push) Failing after 37s
Build Docker and Deploy / Deploy to Server (push) Has been skipped

This commit is contained in:
2026-02-07 22:37:18 +01:00
parent fcc10e1d70
commit 925960eb39
24 changed files with 662 additions and 164 deletions

View File

@@ -1,7 +1,5 @@
<?php
use internals\modules\ProjectLawful;
require_once 'website.php';
class Modules
@@ -19,6 +17,7 @@ class Modules
/** @var Highscores|null */ private $highscores = null;
/** @var SelfTest|null */ private $selftest = null;
/** @var ProjectLawful|null */ private $projectlawful = null;
/** @var EbookHistory|null */ private $ebookhistory = null;
/** @var Website */
private $site;
@@ -105,4 +104,10 @@ class Modules
if ($this->projectlawful === null) { require_once 'modules/projectlawful.php'; $this->projectlawful = new ProjectLawful($this->site); }
return $this->projectlawful;
}
public function EbookHistory(): EbookHistory
{
if ($this->ebookhistory === null) { require_once 'modules/ebookhistory.php'; $this->ebookhistory = new EbookHistory($this->site); }
return $this->ebookhistory;
}
}