...

World Wide Web Server 2012-07-04 16:05:09 -07:00
parent 49654c5feb
commit 26921b47c3

@ -227,7 +227,7 @@ Here are the following things need to be done in order to integrate PHPlot with
$file_arr = get_dir_file_info($this->base_path);
$now = time();
if(is_array($file_arr)) {
$regexp = '# ^'. $this->random_file_prefix."_.{{$this->random_file_name_length}}_\d+\..+$#u";
$regexp = '#^'. $this->random_file_prefix."_.{{$this->random_file_name_length}}_\d+\..+$#u";
foreach($file_arr as $k => $v) {
if(preg_match($regexp, basename($v['name']))) {
// Delete old files