Exemple #1
0
 public static function getInstance()
 {
     if (self::$instance === null) {
         self::$instance = new self();
     }
     return self::$instance;
 }
 public static function getSessionOzsa($name)
 {
     if (!self::$OzsaIncluded) {
         include $appPath . "Lib/Ozsa.php";
     }
     self::$OzsaIncluded = true;
     return Ozsa::decode(self::readSessionFile($name, ".ozsa"));
 }