|
System | : | Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 |
Software | : | Apache. PHP/5.3.6-13ubuntu3.10 |
ID | : | uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
|
|
Safe Mode | : | OFF |
Open_Basedir | : | OFF |
Freespace | : | 27.44 GB of 70.42 GB (38.97%) |
|
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON |
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
|
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ]
|
|
/
http/
guitar/
includes/
- dr-xr-xr-x
|
Viewing file: cache-install.inc (2.43 KB) -rw-r--r--Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
<?php
/** * @file * Provides a stub cache implementation to be used during installation. */
/** * Defines a stub cache implementation to be used during installation. * * The stub implementation is needed when database access is not yet available. * Because Drupal's caching system never requires that cached data be present, * these stub functions can short-circuit the process and sidestep the need for * any persistent storage. Obviously, using this cache implementation during * normal operations would have a negative impact on performance. */ class DrupalFakeCache extends DrupalDatabaseCache implements DrupalCacheInterface {
/** * Overrides DrupalDatabaseCache::get(). */ function get($cid) { return FALSE; }
/** * Overrides DrupalDatabaseCache::getMultiple(). */ function getMultiple(&$cids) { return array(); }
/** * Overrides DrupalDatabaseCache::set(). */ function set($cid, $data, $expire = CACHE_PERMANENT) { }
/** * Overrides DrupalDatabaseCache::clear(). */ function clear($cid = NULL, $wildcard = FALSE) { // If there is a database cache, attempt to clear it whenever possible. The // reason for doing this is that the database cache can accumulate data // during installation due to any full bootstraps that may occur at the // same time (for example, Ajax requests triggered by the installer). If we // didn't try to clear it whenever this function is called, the data in the // cache would become stale; for example, the installer sometimes calls // variable_set(), which updates the {variable} table and then clears the // cache to make sure that the next page request picks up the new value. // Not actually clearing the cache here therefore leads old variables to be // loaded on the first page requests after installation, which can cause // subtle bugs, some of which would not be fixed unless the site // administrator cleared the cache manually. try { if (class_exists('Database')) { parent::clear($cid, $wildcard); } } // If the attempt at clearing the cache causes an error, that means that // either the database connection is not set up yet or the relevant cache // table in the database has not yet been created, so we can safely do // nothing here. catch (Exception $e) { } }
/** * Overrides DrupalDatabaseCache::isEmpty(). */ function isEmpty() { return TRUE; } }
|