Landing_Page.php 676 B

123456789101112131415161718192021222324252627
  1. <?php
  2. require_once($path["page"] . "Page.php");
  3. /**
  4. * Landing page model.
  5. */
  6. class Landing_Page extends Page{
  7. /**
  8. * Constructor.
  9. *
  10. * Retrieves the data and initializes the variables.
  11. *
  12. * @param SQLite3 $db Connection to the database.
  13. */
  14. public function __construct($db){
  15. global $path;
  16. global $root;
  17. parent::__construct($db);
  18. $this->view = $path["view"] . "landing.php";
  19. $this->title = "Login - SWDB";
  20. $this->description = "Login to SWDB";
  21. $this->canonical = $root . "landing/";
  22. }
  23. }
  24. ?>