diff --git a/htdocs/admin/system/phpinfo.php b/htdocs/admin/system/phpinfo.php index d0f6ffecefe..505ed5a6a9a 100644 --- a/htdocs/admin/system/phpinfo.php +++ b/htdocs/admin/system/phpinfo.php @@ -63,17 +63,17 @@ ob_start(); if ($_GET["what"] == 'conf') { - $title=$langs->trans("Setup"); + $title = 'Setup'; phpinfo(INFO_CONFIGURATION); } elseif ($_GET["what"] == 'env') { - $title=$langs->trans("OSEnv"); + $title = 'OSEnv'; phpinfo(INFO_ENVIRONMENT); } elseif ($_GET["what"] == 'modules') { - $title=$langs->trans("Modules"); + $title = 'Modules'; phpinfo(INFO_MODULES); } else @@ -85,37 +85,29 @@ $chaine = ob_get_contents(); ob_end_clean(); // Nettoie la sortie php pour inclusion dans une page deja existante -$chaine = preg_replace('/background-color: #ffffff;/i','',$chaine); -$chaine = preg_replace('/(.*)