/[dolibarr]/dolibarr/htdocs/install/inc.php
ViewVC logotype

Diff of /dolibarr/htdocs/install/inc.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by eldy, Thu Sep 8 15:47:04 2005 UTC revision 1.14 by eldy, Thu Sep 22 00:19:10 2005 UTC
# Line 93  function pFooter($nonext=0,$addlang=1) Line 93  function pFooter($nonext=0,$addlang=1)
93    
94  function dolibarr_syslog($message)  function dolibarr_syslog($message)
95  {  {
96  // \todo    Désactiver sous Windows (gros problème mémoire et faute de protections)      // Les fonctions syslog ne sont pas toujours installés ou autorisées chez les hébergeurs
97  //  if (1 == 2) {      if (function_exists("define_syslog_variables"))
98        define_syslog_variables();      {
99        openlog("dolibarr", LOG_PID | LOG_PERROR, LOG_USER);      # LOG_USER au lieu de LOG_LOCAL0 car non accepté par tous les php          // \todo    Désactiver sous Windows (gros problème mémoire et faute de protections)
100        syslog(LOG_WARNING, $message);          //  if (1 == 2) {
101        closelog();                define_syslog_variables();
102  //  }                openlog("dolibarr", LOG_PID | LOG_PERROR, LOG_USER);      # LOG_USER au lieu de LOG_LOCAL0 car non accepté par tous les php
103                  syslog(LOG_WARNING, $message);
104                  closelog();
105            //  }
106        }
107  }  }
108    
109  ?>  ?>

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26