dolibarr/htdocs/info.php3

65 lines
2.6 KiB
PHP
Raw Normal View History

2002-04-30 12:51:35 +02:00
<?PHP
/* Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
*
* $Id$
* $Source$
*
* 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.
*
*/
require("./pre.inc.php3");
llxHeader();
print '<table border="1" cellpadding="3" cellspacing="0">';
2002-05-11 20:15:48 +02:00
print '<tr><td>css</td><td>' . $conf->css . '</td></tr>';
2002-05-16 17:38:04 +02:00
print '<tr><td>theme</td><td>' . $conf->theme . '</td></tr>';
2002-05-11 20:15:48 +02:00
2002-05-01 02:11:24 +02:00
print '<tr><td bgcolor="#e0e0e0" colspan="2">Database</td></tr>';
2002-05-04 23:28:42 +02:00
print '<tr><td>type</td><td>' . $conf->db->type . '</td></tr>';
2002-04-30 12:51:35 +02:00
print '<tr><td>host</td><td>' . $conf->db->host . '</td></tr>';
2002-05-01 02:11:24 +02:00
print '<tr><td>user</td><td>' . $conf->db->user . '&nbsp;</td></tr>';
print '<tr><td>pass</td><td>' . $conf->db->pass . '&nbsp;</td></tr>';
2002-04-30 12:51:35 +02:00
print '<tr><td>Database name</td><td>' . $conf->db->name . '</td></tr>';
2002-05-01 02:11:24 +02:00
2002-12-19 19:59:23 +01:00
print '<tr class="list_sep"><td colspan="2">Propale</td></tr>';
2002-05-01 02:11:24 +02:00
print '<tr><td>templates</td><td>' . $conf->propal->templatesdir . '</td></tr>';
print '<tr><td>output dir</td><td>' . $conf->propal->outputdir . '</td></tr>';
print '<tr><td>output url</td><td>' . $conf->propal->outputurl . '</td></tr>';
2002-05-04 23:28:42 +02:00
if ($conf->fichinter->enabled) {
print '<tr><td bgcolor="#e0e0e0" colspan="2">Fiche d\'intervention</td></tr>';
print '<tr><td>templates</td><td>' . $conf->fichinter->templatesdir . '</td></tr>';
print '<tr><td>output dir</td><td>' . $conf->fichinter->outputdir . '</td></tr>';
print '<tr><td>output url</td><td>' . $conf->fichinter->outputurl . '</td></tr>';
}
2002-05-01 02:11:24 +02:00
2002-05-09 16:57:48 +02:00
print '<tr><td bgcolor="#e0e0e0" colspan="2">Webcal</td></tr>';
print '<tr><td>type</td><td>' . $conf->webcal->db->type . '</td></tr>';
print '<tr><td>host</td><td>' . $conf->webcal->db->host . '</td></tr>';
print '<tr><td>user</td><td>' . $conf->webcal->db->user . '&nbsp;</td></tr>';
print '<tr><td>pass</td><td>' . $conf->webcal->db->pass . '&nbsp;</td></tr>';
print '<tr><td>Database name</td><td>' . $conf->webcal->db->name . '</td></tr>';
2002-04-30 12:51:35 +02:00
print '</table>';
$db = new Db();
2002-10-01 10:53:09 +02:00
?> <a href="phpinfo.php3">phpinfo</a> <?PHP
2002-04-30 12:51:35 +02:00
llxFooter();
?>