include("langsettings.php"); ?>
=$TEXT['security-head']?>
=$TEXT['security-text1']?>
$i=0;
function line($head,$textok,$info,$command)
{
global $i,$TEXT;
system("/opt/lampp/share/lampp/$command check",$status);
if($i>0)
{
echo "
";
echo " | ";
echo "
";
}
echo " | ";
if($status==0)
echo $textok;
else
echo $head;
echo " | ";
if($status==0){ echo " ".$TEXT['security-ok']." | "; }
else if($status==1) { echo " ".$TEXT['security-nok']." | "; }
else { echo " ".$TEXT['security-noidea']." | "; }
echo " |
";
if($status)
echo " | $info
| | |
";
$i++;
}
echo '';
echo "";
echo " | ";
echo " ".$TEXT['security-tab1']." | ";
echo " ".$TEXT['security-tab2']." | ";
echo "
| ";
echo "
";
line($TEXT['security-checkapache-nok'],$TEXT['security-checkapache-ok'],$TEXT['security-checkapache-text'],"checkapache");
//line($TEXT['security-checkmysqlport-nok'],$TEXT['security-checkmysqlport-ok'],$TEXT['security-checkmysqlport-text'],"checkmysqlport");
line($TEXT['security-checkpmamysqluser-nok'],$TEXT['security-checkpmamysqluser-ok'],$TEXT['security-checkpmamysqluser-text'],"checkpmamysqluser");
line($TEXT['security-checkmysql-nok'],$TEXT['security-checkmysql-ok'],$TEXT['security-checkmysql-text'],"checkmysql");
line($TEXT['security-checkftppassword-nok'],$TEXT['security-checkftppassword-ok'],$TEXT['security-checkftppassword-text'],"checkftppassword");
echo "";
echo " | ";
echo " | ";
echo " | ";
echo "
";
echo "
";
echo "";
?>
=$TEXT['security-text2']?>