public function __construct() { parent::__construct(); if (Auth::petugas() == null) { header("Location: " . base . "/Auth"); } else { $this->petugas = Auth::petugas(); } }
function __construct() { parent::__construct(); $this->petugas = Auth::petugas(); }