Home
 Simple Mode / Advanced Mode  Simple Mode / Advanced Mode
getTemplate() . '/cpanel.php'; if (file_exists( $path )) { require $path; } else { echo '
'; mosLoadAdminModules( 'cpanel', 1 ); } } function get_php_setting($val) { $r = (ini_get($val) == '1' ? 1 : 0); return $r ? 'ON' : 'OFF'; } function get_server_software() { if (isset($_SERVER['SERVER_SOFTWARE'])) { return $_SERVER['SERVER_SOFTWARE']; } else if (($sf = getenv('SERVER_SOFTWARE'))) { return $sf; } else { return 'n/a'; } } function system_info( $version ) { global $mosConfig_absolute_path, $database; //$tab = mosGetParam( $_REQUEST, 'tab', 'tab1' ); $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:
PHP Version:
Web Server:
WebServer to PHP interface:
Mambo Version:
User Agent:
Relevant PHP Settings: setQuery( $query ); $editor = $database->loadResult(); ?>
Safe Mode:
Open basedir:
Display Errors:
Short Open Tags:
File Uploads:
Magic Quotes:
Register Globals:
Output Buffering:
Session save path:
Session auto start:
XML enabled:
Zlib enabled:
Disabled Functions:
WYSIWYG Editor:
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\''; } else if (eregi( '", $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 Mambo functions and features to work ALL of the following directories should be writeable:
endTab(); $tabs->endPane(); ?>
Help
Search: Glossary | Credits | Support Glossary | Credits | Support | License | help.mamboserver.com | System 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; } } } /* $xmlDoc =& new DOMIT_Lite_Document(); $xmlDoc->resolveErrors( true ); echo "
$file "; if ($xmlDoc->loadXML( $mosConfig_absolute_path . '/help/' . $file, false, true )) { if (eregi( '\.html$', $file )) { // html file $elem = $xmlDoc->getElementsByPath( 'head/title', 1 ); } else { // xml file $elem = $xmlDoc->getElementsByPath( 'title', 1 ); } if ($elem) { if ($helpsearch) { if (strpos( $xmlDoc->getText(), $helpsearch ) !== false) { $toc[$file] = $elem->getText(); } } else { $toc[$file] = $elem->getText(); } } } else { echo $xmlDoc->getErrorString(); } */ } asort( $toc ); return $toc; } ?>