Plugin Directory

Changeset 1256509


Ignore:
Timestamp:
09/30/2015 11:48:54 AM (10 years ago)
Author:
nikdo
Message:

Deleting expired images

Location:
react-webcam/trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • react-webcam/trunk/configurable.php

    r1248839 r1256509  
    44
    55const FILE_TIMESTAMP_FORMAT = '*Ymd?His*'; //NM_20150909_000258.jpg
     6const MAX_IMAGE_AGE = 4; // days after which the image will be deleted
    67
    78
  • react-webcam/trunk/react-webcam.php

    r1255686 r1256509  
    22/*
    33Plugin Name: React Webcam
    4 Version: 2.1.0
     4Version: 2.2.0
    55Author: Radek Matej
    66Description: Add auto-refreshing image from your webcam to any page.
     
    1515const REFRESHINT_DEFAULT = 60; // seconds
    1616const HISTORY_ACTION_NAME = 'webcamhistory';
    17 
    18 require_once 'configurable.php';
    1917
    2018
     
    3836}
    3937
     38
     39require_once 'configurable.php';
     40require_once 'delete-expired.php';
    4041
    4142
Note: See TracChangeset for help on using the changeset viewer.