status;
} else {
$verstatus = null;
}
if ($verstatus == '0') {
$ver = ''.$site_version_no.'
'. i18n_r('UPG_NEEDED').' ('.$apikey->latest .')
'. i18n_r('DOWNLOAD').'';
} elseif ($verstatus == '1') {
$ver = ''.$site_version_no.'
'. i18n_r('LATEST_VERSION').'';
} elseif ($verstatus == '2') {
$ver = ''.$site_version_no.'
'. i18n_r('BETA').'';
} else {
$ver = ''.$site_version_no.'
'. i18n_r('CANNOT_CHECK').'
'. i18n_r('DOWNLOAD').'';
}
?>
| |
GSADMIN | '.GSADMIN.' | ';
if(defined('GSLOGINSALT') && GSLOGINSALT!='') echo 'GSLOGINSALT | '. i18n_r('YES').' |
';
else echo 'GSLOGINSALT | '. i18n_r('NO').' |
';
if(defined('GSUSECUSTOMSALT') && GSUSECUSTOMSALT!='') echo 'GSUSECUSTOMSALT | '. i18n_r('YES').' |
';
else echo 'GSUSECUSTOMSALT | '. i18n_r('NO').' |
';
?>
| '. PHP_VERSION.' - PHP 5.2 '.i18n_r('OR_GREATER_REQ').' - '.i18n_r('ERROR').' |
';
} else {
echo 'PHP '.i18n_r('VERSION').''. PHP_VERSION.' - '.i18n_r('OK').' | ';
}
if (in_arrayi('curl', $php_modules) && function_exists('curl_init') && function_exists('curl_exec')) {
echo 'cURL Module | '.i18n_r('INSTALLED').' - '.i18n_r('OK').' |
';
} else{
echo 'cURL Module | '.i18n_r('NOT_INSTALLED').' - '.i18n_r('WARNING').' |
';
}
if (in_arrayi('gd', $php_modules) ) {
echo 'GD Library | '.i18n_r('INSTALLED').' - '.i18n_r('OK').' |
';
} else{
echo 'GD Library | '.i18n_r('NOT_INSTALLED').' - '.i18n_r('WARNING').' |
';
}
if (in_arrayi('zip', $php_modules) ) {
echo 'ZipArchive | '.i18n_r('INSTALLED').' - '.i18n_r('OK').' |
';
} else{
echo 'ZipArchive | '.i18n_r('NOT_INSTALLED').' - '.i18n_r('WARNING').' |
';
}
if (! in_arrayi('SimpleXML', $php_modules) ) {
echo 'SimpleXML Module | '.i18n_r('NOT_INSTALLED').' - '.i18n_r('ERROR').' |
';
} else {
echo 'SimpleXML Module | '.i18n_r('INSTALLED').' - '.i18n_r('OK').' |
';
}
if (!function_exists('chmod') ) {
echo 'chmod | '.i18n_r('NOT_INSTALLED').' - '.i18n_r('ERROR').' |
';
} else {
echo 'chmod | chmod - '.i18n_r('OK').' |
';
}
if (server_is_apache()) {
echo 'Apache Web Server | '.$_SERVER['SERVER_SOFTWARE'].' - '.i18n_r('OK').' |
';
if ( function_exists('apache_get_modules') ) {
if(! in_arrayi('mod_rewrite',apache_get_modules())) {
echo 'Apache Mod Rewrite | '.i18n_r('NOT_INSTALLED').' - '.i18n_r('WARNING').' |
';
} else {
echo 'Apache Mod Rewrite | '.i18n_r('INSTALLED').' - '.i18n_r('OK').' |
';
}
} else {
echo 'Apache Mod Rewrite | '.i18n_r('INSTALLED').' - '.i18n_r('OK').' |
';
}
} else {
if (!defined('GSNOAPACHECHECK') || GSNOAPACHECHECK == false) {
echo 'Apache web server | '.$_SERVER['SERVER_SOFTWARE'].' - '.i18n_r('ERROR').' |
';
}
}
$disabled_funcs = ini_get('disable_functions');
if(!empty($disabled_funcs)) echo 'PHP disable_functions ' . $disabled_funcs . ' |
';
?>
/data/pages/' . $file .' | ' . valid_xml($path . $file) .' | ';
}
}
$path = GSDATAOTHERPATH;
$data = getFiles($path);
sort($data);
foreach($data as $file) {
if( isFile($file, $path) ) {
echo '/data/other/' . $file .' | ' . valid_xml($path . $file) .' |
';
}
}
$path = GSDATAOTHERPATH.'logs/';
$data = getFiles($path);
sort($data);
foreach($data as $file) {
if( isFile($file, $path, '.log') ) {
echo '/data/other/logs/' . $file .' | ' . valid_xml($path . $file) .' |
';
}
}
$path = GSUSERSPATH;
$data = getFiles($path);
sort($data);
foreach($data as $file) {
if( isFile($file, $path) ) {
echo '/backups/users/' . $file .' | ' . valid_xml($path . $file) .' |
';
}
}
?>
: /data/other/plugins.xml | = '0644' ) { echo ''. $me .' '.i18n_r('WRITABLE').' - '.i18n_r('OK').''; } else { echo ''. $me .' '.i18n_r('NOT_WRITABLE').' - '.i18n_r('ERROR').'!'; } ?> |
/data/pages/ | = '0755' ) { echo ''. $me .' '.i18n_r('WRITABLE').' - '.i18n_r('OK').''; } else { echo ''. $me .' '.i18n_r('NOT_WRITABLE').' - '.i18n_r('ERROR').'!'; } ?> |
/data/other/ | = '0755' ) { echo ''. $me .' '.i18n_r('WRITABLE').' - '.i18n_r('OK').''; } else { echo ''. $me .' '.i18n_r('NOT_WRITABLE').' - '.i18n_r('ERROR').'!'; } ?> |
/data/other/logs/ | = '0755' ) { echo ''. $me .' '.i18n_r('WRITABLE').' - '.i18n_r('OK').''; } else { echo ''. $me .' '.i18n_r('NOT_WRITABLE').' - '.i18n_r('ERROR').'!'; } ?> |
/data/thumbs/ | = '0755' ) { echo ''. $me .' '.i18n_r('WRITABLE').' - '.i18n_r('OK').''; } else { echo ''. $me .' '.i18n_r('NOT_WRITABLE').' - '.i18n_r('ERROR').'!'; } ?> |
/data/uploads/ | = '0755' ) { echo ''. $me .' '.i18n_r('WRITABLE').' - '.i18n_r('OK').''; } else { echo ''. $me .' '.i18n_r('NOT_WRITABLE').' - '.i18n_r('ERROR').'!'; } ?> |
/data/users/ | = '0755' ) { echo ''. $me .' '.i18n_r('WRITABLE').' - '.i18n_r('OK').''; } else { echo ''. $me .' '.i18n_r('NOT_WRITABLE').' - '.i18n_r('ERROR').'!'; } ?> |
/data/cache/ | = '0755' ) { echo ''. $me .' '.i18n_r('WRITABLE').' - '.i18n_r('OK').''; } else { echo ''. $me .' '.i18n_r('NOT_WRITABLE').' - '.i18n_r('ERROR').'!'; } ?> |
/backups/zip/ | = '0755' ) { echo ''. $me .' '.i18n_r('WRITABLE').' - '.i18n_r('OK').''; } else { echo ''. $me .' '.i18n_r('NOT_WRITABLE').' - '.i18n_r('ERROR').'!'; } ?> |
/backups/pages/ | = '0755' ) { echo ''. $me .' '.i18n_r('WRITABLE').' - '.i18n_r('OK').''; } else { echo ''. $me .' '.i18n_r('NOT_WRITABLE').' - '.i18n_r('ERROR').'!'; } ?> |
/backups/other/ | = '0755' ) { echo ''. $me .' '.i18n_r('WRITABLE').' - '.i18n_r('OK').''; } else { echo ''. $me .' '.i18n_r('NOT_WRITABLE').' - '.i18n_r('ERROR').'!'; } ?> |
/backups/users/ | = '0755' ) { echo ''. $me .' '.i18n_r('WRITABLE').' - '.i18n_r('OK').''; } else { echo ''. $me .' '.i18n_r('NOT_WRITABLE').' - '.i18n_r('ERROR').'!'; } ?> |
/data/ |
'.i18n_r('MISSING_FILE').' - '.i18n_r('WARNING').'';
} else {
$res = file_get_contents($file);
if ( !strstr($res, 'Deny from all')) {
echo ''.i18n_r('BAD_FILE').' - '.i18n_r('WARNING').'';
} else {
echo ''.i18n_r('GOOD_D_FILE').' - '.i18n_r('OK').'';
}
}
?>
|
/data/uploads/ |
'.i18n_r('MISSING_FILE').' - '.i18n_r('WARNING').'';
} else {
$res = file_get_contents($file);
if ( !strstr($res, 'Allow from all')) {
echo ' '.i18n_r('BAD_FILE').' - '.i18n_r('WARNING').'';
} else {
echo ' '.i18n_r('GOOD_A_FILE').' - '.i18n_r('OK').'';
}
}
?>
|
/data/users/ |
'.i18n_r('MISSING_FILE').' - '.i18n_r('WARNING').'';
} else {
$res = file_get_contents($file);
if ( !strstr($res, 'Deny from all')) {
echo ''.i18n_r('BAD_FILE').' - '.i18n_r('WARNING').'';
} else {
echo ''.i18n_r('GOOD_D_FILE').' - '.i18n_r('OK').'';
}
}
?>
|
/data/cache/ |
'.i18n_r('MISSING_FILE').' - '.i18n_r('WARNING').'';
} else {
$res = file_get_contents($file);
if ( !strstr($res, 'Deny from all')) {
echo ''.i18n_r('BAD_FILE').' - '.i18n_r('WARNING').'';
} else {
echo ''.i18n_r('GOOD_D_FILE').' - '.i18n_r('OK').'';
}
}
?>
|
/data/thumbs/ |
'.i18n_r('MISSING_FILE').' - '.i18n_r('WARNING').'';
} else {
$res = file_get_contents($file);
if ( !strstr($res, 'Allow from all')) {
echo ' '.i18n_r('BAD_FILE').' - '.i18n_r('WARNING').'';
} else {
echo ' '.i18n_r('GOOD_A_FILE').' - '.i18n_r('OK').'';
}
}
?>
|
/data/pages/ |
'.i18n_r('MISSING_FILE').' - '.i18n_r('WARNING').'';
} else {
$res = file_get_contents($file);
if ( !strstr($res, 'Deny from all')) {
echo ' '.i18n_r('BAD_FILE').' - '.i18n_r('WARNING').'';
} else {
echo ' '.i18n_r('GOOD_D_FILE').' - '.i18n_r('OK').'';
}
}
?>
|
/plugins/ |
'.i18n_r('MISSING_FILE').' - '.i18n_r('WARNING').'';
} else {
$res = file_get_contents($file);
if ( !strstr($res, 'Deny from all')) {
echo ' '.i18n_r('BAD_FILE').' - '.i18n_r('WARNING').'';
} else {
echo ' '.i18n_r('GOOD_D_FILE').' - '.i18n_r('OK').'';
}
}
?>
|
/data/other/ |
'.i18n_r('MISSING_FILE').' - '.i18n_r('WARNING').'';
} else {
$res = file_get_contents($file);
if ( !strstr($res, 'Deny from all')) {
echo ' '.i18n_r('BAD_FILE').' - '.i18n_r('WARNING').'';
} else {
echo ' '.i18n_r('GOOD_D_FILE').' - '.i18n_r('OK').'';
}
}
?>
|
/data/other/logs/ |
'.i18n_r('MISSING_FILE').' - '.i18n_r('WARNING').'';
} else {
$res = file_get_contents($file);
if ( !strstr($res, 'Deny from all')) {
echo ' '.i18n_r('BAD_FILE').' - '.i18n_r('WARNING').'';
} else {
echo ' '.i18n_r('GOOD_D_FILE').' - '.i18n_r('OK').'';
}
}
?>
|
/theme/ |
'.i18n_r('CANNOT_DEL_FILE').' - '.i18n_r('ERROR').'';
} else {
echo ' '.i18n_r('NO_FILE').' - '.i18n_r('OK').'';
}
?>
|