* initial work towards factorizing the controllers (yeah, now it's tsControllerSometh...
[vsc.git] / adm / _res / _libs / tscontrollerhtmladmin.class.php
blobb318e7a5c30349f86ffdf36b44bacf8fe8b974ee
1 <?php
2 /**
3 * @name tsControllerHtmlAdmin
4 * @package html Output class
5 */
7 class tsControllerHtmlAdmin extends tsControllerHtml {
8 protected $user;
10 public function __construct(){
11 parent::__construct();
13 $this->user = new tsUsers ($this->db);
15 if (!$this->user->isLogged ())
16 tsController::redirect(str_replace('&amp;','&',tsController::setRequest ('login')));