- //################################################################################################################//
- // //
- // IOTD-Script //
- // //
- // developed for the DelphiGL-Community (http://delphigl.com) //
- // by Lukas Erlacher (aka luketheduke) //
- // //
- //################################################################################################################//
- ##
- ## Settings
- ##
- $old_pics = './oldpics/'; // where to place old pictures
- $new_pics = './newpics/'; // where to fetch new pictures
- $duration = 1 * 24 * 60 * 60; // one day per picture
- $default_pic = 'default.gif';
- define("C_KEEPNEW",0); // keep the last new picture if its time is up and there is no new
- define("C_PICKOLD",1); // pick an old one by random
- define("C_SHOWDEFAULT",2); // show a default picture specified in $default_pic
- $cycle = C_PICKOLD;