Ajout fonction dolibarr_syslog()
This commit is contained in:
parent
af9db9d5ef
commit
d6ffdc8f6a
@ -1,5 +1,5 @@
|
|||||||
<?PHP
|
<?PHP
|
||||||
/* Copyright (C) 2000-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2000-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
|
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
|
||||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
@ -26,6 +26,17 @@
|
|||||||
$yn[0] = "non";
|
$yn[0] = "non";
|
||||||
$yn[1] = "oui";
|
$yn[1] = "oui";
|
||||||
|
|
||||||
|
Function dolibarr_syslog($message)
|
||||||
|
{
|
||||||
|
define_syslog_variables();
|
||||||
|
|
||||||
|
openlog("dolibarr", LOG_PID | LOG_PERROR, LOG_LOCAL0);
|
||||||
|
|
||||||
|
syslog(LOG_WARNING, $message);
|
||||||
|
|
||||||
|
closelog();
|
||||||
|
}
|
||||||
|
|
||||||
Function dolibarr_fiche_head($links, $active=0)
|
Function dolibarr_fiche_head($links, $active=0)
|
||||||
{
|
{
|
||||||
print '<div class="tabs">';
|
print '<div class="tabs">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user