An Error Was Encountered
Non-existent class: Unzip
Severity: 8192
Message: Function set_magic_quotes_runtime() is deprecated
Filename: codeigniter/CodeIgniter.php
Line Number: 60
Severity: 8192
Message: Assigning the return value of new by reference is deprecated
Filename: libraries/Loader.php
Line Number: 255
Severity: 8192
Message: Assigning the return value of new by reference is deprecated
Filename: database/DB.php
Line Number: 133
', $close = '
') { $str = ''; if($level == 1) foreach ($this->info as $val) { $str .= $open.$val.$close; } if($level == 2) foreach ($this->error as $val) { $str .= $open.$val.$close; } return $str; } // -------------------------------------------------------------------- /** * Uncompress file. And save it to the targetFile. * * @access Private * @param Filecontent, int, int, boolean * @return none */ function uncompress($content, $mode, $uncompressedSize, $targetFileName=false){ switch($mode){ case 0: return $targetFileName?file_put_contents($targetFileName, $content):$content; case 1: $this->debugMsg(2, "Shrunk mode is not supported... yet?"); return false; case 2: case 3: case 4: case 5: $this->debugMsg(2, "Compression factor ".($mode-1)." is not supported... yet?"); return false; case 6: $this->debugMsg(2, "Implode is not supported... yet?"); return false; case 7: $this->debugMsg(2, "Tokenizing compression algorithm is not supported... yet?"); return false; case 8: // Deflate return $targetFileName? file_put_contents($targetFileName, gzinflate($content, $uncompressedSize)): gzinflate($content, $uncompressedSize); case 9: $this->debugMsg(2, "Enhanced Deflating is not supported... yet?"); return false; case 10: $this->debugMsg(2, "PKWARE Date Compression Library Impoloding is not supported... yet?"); return false; case 12: // Bzip2 return $targetFileName? file_put_contents($targetFileName, bzdecompress($content)): bzdecompress($content); case 18: $this->debugMsg(2, "IBM TERSE is not supported... yet?"); return false; default: $this->debugMsg(2, "Unknown uncompress method: $mode"); return false; } } // -------------------------------------------------------------------- /** * Save messages * * @access Private * @param string * @return none */ function debugMsg($level, $string){ if($level == 1) $this->error[] = "dUnzip2: $stringNon-existent class: Unzip