Exemple #1
0
 static function curClass()
 {
     /*if(session_id() == '') {
           session_start();
       }
       //return $_COOKIE["class"];
       if (!isset($_SESSION['class'])) return null;
       return $_SESSION['class'];*/
     if (!MySession::has("class")) {
         return null;
     }
     return MySession::get("class");
 }