Control Panel
getTemplate() . '/cpanel.php'; if (file_exists( $path )) { require $path; } else { echo '
'; mosLoadAdminModules( 'cpanel', 1 ); } } function get_php_setting($val, $colour=0, $yn=1) { $r = (ini_get($val) == '1' ? 1 : 0); if ($colour) { if ($yn) { $r = $r ? 'ON' : 'OFF'; } else { $r = $r ? 'ON' : 'OFF'; } return $r; } else { return $r ? 'ON' : 'OFF'; } } function get_server_software() { if (isset($_SERVER['SERVER_SOFTWARE'])) { return $_SERVER['SERVER_SOFTWARE']; } else if (($sf = phpversion() <= '4.2.1' ? getenv('SERVER_SOFTWARE') : $_SERVER['SERVER_SOFTWARE'])) { return $sf; } else { return 'n/a'; } } function system_info( $version ) { global $mosConfig_absolute_path, $database, $mosConfig_cachepath, $mainframe; $width = 400; // width of 100% $tabs = new mosTabs(0); ?>
Information
startPane("sysinfo"); $tabs->startTab("System Info","system-page"); ?>
System Information
PHP built On:
Database Version: getVersion(); ?>
PHP Version:
Web Server:
WebServer to PHP interface:
Joomla! Version:
User Agent:
Relevant PHP Settings:
Joomla! Register Globals Emulation: ON' : 'OFF'); ?>
Register Globals:
Magic Quotes:
Safe Mode:
File Uploads:
Session auto start:
Session save path:
Short Open Tags:
Output Buffering:
Open basedir:
Display Errors:
XML enabled:
Zlib enabled:
Disabled Functions:
Configuration File: $v) { if (eregi( 'mosConfig_host', $v)) { $cf[$k] = '$mosConfig_host = \'xxxxxx\''; } else if (eregi( 'mosConfig_user', $v)) { $cf[$k] = '$mosConfig_user = \'xxxxxx\''; } else if (eregi( 'mosConfig_password', $v)) { $cf[$k] = '$mosConfig_password = \'xxxxxx\''; } else if (eregi( 'mosConfig_db ', $v)) { $cf[$k] = '$mosConfig_db = \'xxxxxx\''; } } foreach ($cf as $k=>$v) { $k = htmlspecialchars( $k ); $v = htmlspecialchars( $v ); $cf[$k]=$v; } echo implode( "
", $cf ); ?>
endTab(); $tabs->startTab("PHP Info","php-page"); ?>
PHP Information
]*>(.*)#siU', $phpinfo, $output); $output = preg_replace('##', '', $output); echo $output; ?>
endTab(); $tabs->startTab('Permissions','perms'); ?>
Directory Permissions
For all Joomla! functions and features to work ALL of the following directories should be writeable: Cache Directory ' ); mosHTML::writableCell( $sp, 0, 'Session Directory ' ); ?>
endTab(); $tabs->endPane(); ?> setQuery( $query ); $row = $database->loadResult(); $params = new mosParameters( $row ); mosLoadAdminModule( 'components', $params ); } /** * Display Help Page */ function help() { global $mosConfig_live_site; $helpurl = strval( mosGetParam( $GLOBALS, 'mosConfig_helpurl', '' ) ); if ( $helpurl == 'http://help.mamboserver.com' ) { $helpurl = 'http://help.joomla.org'; } $fullhelpurl = $helpurl . '/index2.php?option=com_content&task=findkey&pop=1&keyref='; $helpsearch = strval( mosGetParam( $_REQUEST, 'helpsearch', '' ) ); $helpsearch = addslashes(htmlspecialchars($helpsearch)); $page = strval( mosGetParam( $_REQUEST, 'page', 'joomla.whatsnew100.html' ) ); $toc = getHelpToc( $helpsearch ); if (!eregi( '\.html$', $page )) { $page .= '.xml'; } echo $helpsearch; ?>
Help
Search: Glossary | Credits | Support Glossary | Credits | Support | License | help.joomla.org | Changelog | System Info | Latest Version Info
Index
$v) { if ($helpurl) { echo '
' . $v . ''; } else { echo '
' . $v . ''; } } ?>
Site Preview Open in new window
			
		
(.*?)#', $buffer, $m )) { $title = trim( $m[1] ); if ($title) { if ($helpurl) { // strip the extension $file = preg_replace( '#\.xml$|\.html$#', '', $file ); } if ($helpsearch) { if (strpos( strip_tags( $buffer ), $helpsearch ) !== false) { $toc[$file] = $title; } } else { $toc[$file] = $title; } } } } asort( $toc ); return $toc; } ?>