Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 3.5.0.0
- * @ Author : DeZender
- * @ Release on : 22.06.2018
- * @ Official site : http://DeZender.Net
- *
- */
- $CACHE = new Cache();
- if (defined('VIR_PATH') == false || defined('VIR_CP_PATH') == false || defined('SYS_PATH') == false || defined('SYS_LICENSE') == false) {
- exit('The system does not appear to be properly installed (1).');
- }
- if (isset($DB) == false || isset($CACHE) == false) {
- exit('The system does not appear to be installed properly (2).');
- }
- class Cache
- {
- public $enabled = null;
- public $prefix = '';
- public $group = null;
- public $id = null;
- public function __construct()
- {
- $this->enabled = true;
- }
- public function check($group, $id)
- {
- $filename = $this->get_filename($group, $id);
- if ($this->enabled && @file_exists($filename) && time() < @filemtime($filename)) {
- return true;
- }
- @unlink($filename);
- return false;
- }
- public function start($group, $id, $ttl)
- {
- if (!$this->enabled) {
- .........................................................................................
- ............................................
- .................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement