Beispiel #1
0
 function __construct()
 {
     //vamos a ver si me enviaron un login
     if (isset($_POST["do_login"])) {
         //test credentials
         $user = SesionController::testLogin($_POST["user"], $_POST["password"]);
     }
     //vamos a ver si me enviaron un logout
     if (isset($_REQUEST["close_session"])) {
         SesionController::logout();
         die(header("Location: ../"));
     }
     $this->js_urls = "";
     $this->css_urls = "";
     $this->header = "";
     $this->menu = "";
     $this->content = "";
     $this->footer = "";
     $this->page_title = "POS ERP";
 }