Esempio n. 1
0
File: c2Ses.php Progetto: hornos/C2
 public function load($i = NULL)
 {
     $k = $this["se.k"];
     if (empty($k)) {
         return unserialize($this->_get($i));
     }
     $i = c2Enc::enc(serialize($i), $k);
     $d = c2Enc::dec($this->_get($i), $k);
     return unserialize($d);
 }