|
|
@ -1,9 +1,5 @@ |
|
|
|
<?php |
|
|
|
<?php |
|
|
|
class Admin_AdminController extends Ctrl_Admin{ |
|
|
|
class Admin_AdminController extends Ctrl_Admin{ |
|
|
|
public $HospitalId; |
|
|
|
|
|
|
|
public function init(){ |
|
|
|
|
|
|
|
$this->HospitalId = empty($_SESSION['HospitalID'])?'1':$_SESSION['HospitalID']; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
public function IndexAction(){ |
|
|
|
public function IndexAction(){ |
|
|
|
if (!isset($_SESSION['Admin'])) { |
|
|
|
if (!isset($_SESSION['Admin'])) { |
|
|
|
$this->redirect('/Admin_Login/Index'); |
|
|
|
$this->redirect('/Admin_Login/Index'); |
|
|
|