function sanity_checkServer() { global $global_i18n; $status = array($global_i18n['check_db'] => _sanity_checkDB(), $global_i18n['check_gd'] => _sanity_checkGD(), 'PHP 4.0.6+' => _sanity_checkPHPVersion(), $global_i18n['check_zlib'] => _sanity_checkZlib(), $global_i18n['check_xml'] => _sanity_checkXML(), $global_i18n['check_safemode'] => _sanity_CheckSafeMode(), $global_i18n['check_basedir'] => _sanity_checkOpenBaseDir(), $global_i18n['check_upload'] => _sanity_checkTemp(ini_get('upload_tmp_dir')), $global_i18n['check_temp'] => _sanity_checkTemp(BASE . 'tmp')); return $status; }
function sanity_checkServer() { $status = array('GD Graphics Library' => _sanity_checkGD(), 'PHP Version' => _sanity_checkPHPVersion(), 'ZLib Compression' => _sanity_checkZlib(), 'XML (Expat) Library' => _sanity_checkXML(), 'Safe Mode' => _sanity_CheckSafeMode(), 'Open BaseDir Restriction' => _sanity_checkOpenBaseDir(), 'File Uploads' => _sanity_checkTemp(ini_get('upload_tmp_dir')), 'Temporary File Creation' => _sanity_checkTemp(BASE . 'tmp')); return $status; }
function sanity_checkServer() { $status = array(gt('Database Backend') => _sanity_checkDB(), gt('GD Graphics Library 2.0+') => _sanity_checkGD(), 'PHP 5.2.1+' => _sanity_checkPHPVersion(), gt('ZLib Support') => _sanity_checkZlib(), gt('XML (Expat) Library Support') => _sanity_checkXML(), gt('Safe Mode Not Enabled') => _sanity_CheckSafeMode(), gt('Open BaseDir Not Enabled') => _sanity_checkOpenBaseDir(), gt('File Uploads Enabled') => _sanity_checkTemp(ini_get('upload_tmp_dir')), gt('Temporary File Creation') => _sanity_checkTemp(BASE . 'tmp')); return $status; }