diff --git a/lib/Blog.php b/lib/Blog.php index f4a2df8..d189495 100644 --- a/lib/Blog.php +++ b/lib/Blog.php @@ -5,9 +5,13 @@ final class Blog private array $links = []; - public function run() + public function __construct() { $this->loadConfig(); + } + + public function run() + { $this->render(); }