* Copyright (C) 2004-2009 Laurent Destailleur * Copyright (C) 2005-2010 Regis Houssin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /** * \file htdocs/admin/system/index.php * \brief Page accueil infos systeme * \version $Id$ */ require("./pre.inc.php"); include_once(DOL_DOCUMENT_ROOT."/lib/databases/".$conf->db->type.".lib.php"); require_once(DOL_DOCUMENT_ROOT."/lib/functions2.lib.php"); $langs->load("admin"); $langs->load("user"); $langs->load("install"); if (!$user->admin) accessforbidden(); /* * View */ llxHeader(); print_fiche_titre($langs->trans("SummarySystem"),'','setup'); //print "
\n"; print info_admin($langs->trans("SystemInfoDesc")).'
'; print ''; print "\n"; $dolversion=version_dolibarr(); print "\n"; print '
Dolibarr
".$langs->trans("Version")."".$dolversion."
'; print "
\n"; print ''; print "\n"; $osversion=version_os(); print "\n"; print '
".$langs->trans("OS")."
".$langs->trans("Version")."".$osversion."
'; print "
\n"; // Serveur web print ''; print "\n"; $apacheversion=version_webserver(); print "\n"; print '
".$langs->trans("WebServer")."
".$langs->trans("Version")."".$apacheversion."
'; print "
\n"; // Php print ''; print "\n"; $phpversion=version_php(); print "\n"; print "\n"; print '
".$langs->trans("Php")."
".$langs->trans("Version")."".$phpversion."
".$langs->trans("PhpWebLink")."".php_sapi_name()."
'; print "
\n"; // Database print ''; print "\n"; $dblabel=$db->getLabel(); $dbversion=$db->getVersion(); print "\n"; print '
".$langs->trans("Database")."
".$langs->trans("Version")."" .$dblabel." ".$dbversion."
'; print '
'; llxFooter('$Date$ - $Revision$'); ?>