PDA

View Full Version : Filenaming options


jeremycherfas
07-08-2005, 08:44 PM
Using FTP to try and see what was happening in my previous problem, I noticed that PP has been adding a prefix that is derived from the date to every filename. Is this something that can be turned off? I cannot see an option anywhere.

Thanks

raminia
07-08-2005, 09:00 PM
this was to prevent identical file name problem but there is not yet an option inside admin panel to turn it off.
you can turn it off by adding
$time_stamp_r="";
after the line reads
$time_stamp_r = gmdate("YmdHis",time()+(3600 * $tz)) .'_';

and before the line reads
$uploadfile = $upload_dir .$time_stamp_r .$userfile;
inside admin/index.php

jeremycherfas
07-09-2005, 05:12 AM
Thanks.