Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Piatok, 23. október 2026

Rozdiely pre phpWebLogAnalyzer/phpWebLogAnalyzer.inc.php medzi verziami 1.33 a 1.34

verzia 1.33, 2002/04/28 23:29:01 verzia 1.34, 2002/04/29 19:40:03
Riadok 1544  class Web_Log {
Riadok 1544  class Web_Log {
                 return true;                  return true;
         }          }
   
         function convert()          function convert($debug = 0)
         {          {
                 $this->enableRawLog();                  $this->enableRawLog();
                 $inactive_sessions = $this->getInactiveSessions();                  $inactive_sessions = $this->getInactiveSessions();
   
                 if (DB::isError($inactive_sessions))                  if (DB::isError($inactive_sessions))
                         return $inactive_sessions;                          return $inactive_sessions;
 /*  
                 echo "Active sessions:   [" . implode($active_sessions, '][') . "]\n";                  if ($debug) {
                 echo "Inactive sessions: [" . implode($inactive_sessions, '][') . "]\n";                          echo "Active sessions:   [" . implode($this->getActiveSessions(), '][') . "]\n";
 */                          echo "Inactive sessions: [" . implode($inactive_sessions, '][') . "]\n";
                   }
   
   
                 if (count($inactive_sessions) < 2) {                  if (count($inactive_sessions) < 2) {
                 //      $this->destroy();  
                 //      die("No inactive sessions.\n");  
                         return true;                          return true;
                 }                  }
   
Riadok 1567  class Web_Log {
Riadok 1568  class Web_Log {
   
                 foreach ($inactive_sessions as $sid) {                  foreach ($inactive_sessions as $sid) {
   
                         echo "[$sid]::";                          if ($debug) {
                                   echo "[$sid]::";
                           }
   
                         $ids = $this->getAccessesOfSession($sid);                          $ids = $this->getAccessesOfSession($sid);
                         if (DB::isError($ids))                          if (DB::isError($ids))
                                 return $ids;                                  return $ids;
Riadok 1584  class Web_Log {
Riadok 1588  class Web_Log {
                                 if (DB::isError($res = $this->writeValues()))                                  if (DB::isError($res = $this->writeValues()))
                                         return $res;                                          return $res;
   
                                 echo "[$id]";                                  if ($debug) {
                                           echo "[$id]";
                                   }
                         }                          }
   
                         $this->enableRawLog();                          $this->enableRawLog();
                         if (DB::isError($res = $this->deleteSession($sid)))                          if (DB::isError($res = $this->deleteSession($sid)))
                                 return $res;                                  return $res;
   
                         echo "\n";                          if ($debug) {
                                   echo "\n";
                         // debug purpose                          }
                         //break;  
                 }                  }
         }          }
 }  }

Legend:
Odstranené z verzie1.33  
zmenené riadky
  Pridané vo verzii1.34

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok