Changeset 228 for trunk


Ignore:
Timestamp:
Jun 1, 2009, 11:23:59 AM (15 years ago)
Author:
george
Message:
  • Ignorovat složku galerie.
  • Upraveno: Limit čekání načtení obrázku z kamery nastavovat dle periody vyčítání.
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        33statistic
        44webis
         5galerie
  • trunk/global.php

    r226 r228  
    110110  function AddEmailToQueue($Address, $Subject, $Content, $Headers = '')
    111111  {
    112     $Address = 'robie@centrum.cz';
    113112    $this->Database->insert('EmailQueue', array('Address' => $Address, 'Subject' => $Subject, 'Content' => $Content, 'Time' => 'NOW()', 'Headers' => $Headers));
    114113  }
  • trunk/webcam/webcam_refresh.php

    r207 r228  
    77  if((time() - $Config['Web']['WebcamRefresh']) >= $ModifyTime)
    88  {
    9     $Output = shell_exec('wget "http://kamera-stred/Webcam.jpg?MobilePass='.$Config['Web']['WebcamPassword'].'&V=2&Q=2&B=2&U=0" -O webcam_cache.jpg -T 4');
     9    $Output = shell_exec('wget "http://kamera-stred/Webcam.jpg?MobilePass='.$Config['Web']['WebcamPassword'].'&V=2&Q=2&B=2&U=0" -O webcam_cache.jpg -T '.($Config['Web']['WebcamRefresh'] - 1));
    1010  if((strpos($Output, 'failed') === false) and (strpos($Output, 'error') === false))
    1111    shell_exec('mv -f webcam_cache.jpg webcam.jpg');
Note: See TracChangeset for help on using the changeset viewer.