@@ 575-578 (lines=4) @@ | ||
572 | foreach ($ptimes as $_p => $_t) { |
|
573 | if ($praw = $this->getDBdat($_p)) { |
|
574 | $_update = false; |
|
575 | if (isset($praw['client_mtime']) && $_t > strtotime($praw['client_mtime'])) { |
|
576 | $praw['client_mtime'] = date('r', $_t); |
|
577 | $_update = true; |
|
578 | } |
|
579 | if (isset($praw['modified']) && $_t > strtotime($praw['modified'])) { |
|
580 | $praw['modified'] = date('r', $_t); |
|
581 | $_update = true; |
|
@@ 579-582 (lines=4) @@ | ||
576 | $praw['client_mtime'] = date('r', $_t); |
|
577 | $_update = true; |
|
578 | } |
|
579 | if (isset($praw['modified']) && $_t > strtotime($praw['modified'])) { |
|
580 | $praw['modified'] = date('r', $_t); |
|
581 | $_update = true; |
|
582 | } |
|
583 | if ($_update) { |
|
584 | $pwhere = 'where path='.$this->DB->quote(strtolower($this->_dirname($_p))).' and fname='.$this->DB->quote(strtolower($this->_basename($_p))); |
|
585 | $this->DB->exec('update '.$this->DB_TableName.' set dat='.$this->DB->quote(serialize($praw)).' '.$pwhere); |