<?php

    require_once($path["page"] . "Page.php");

    /**
     * Landing page model.
     */
    class Landing_Page extends Page{

        /**
         * Constructor.
         *
         * Retrieves the data and initializes the variables.
         *
         * @param SQLite3 $db Connection to the database.
         */
        public function __construct($db){
            global $path;
            global $root;
            parent::__construct($db);
            $this->view = $path["view"] . "landing.php";
            $this->title = "Login - SWDB";
            $this->description = "Login to SWDB";
            $this->canonical = $root . "landing/";
        }
    }
?>
