Ignore:
Timestamp:
Dec 3, 2008, 12:28:32 AM (15 years ago)
Author:
plg
Message:

merge r2916 from branch 2.0 to trunk

bug 904 fixed: an index.htm is created in directories created by
pwg.images.add web API method, only directories that contains pictures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/ws_functions.inc.php

    r2786 r2917  
    952952  }
    953953
     954  secure_directory($upload_dir);
     955
    954956  // compute file path
    955957  $date_string = preg_replace('/[^\d]/', '', $dbnow);
     
    994996    }
    995997  }
     998
     999  secure_directory($thumbnail_dir);
    9961000
    9971001  // thumbnail path, the filename may use a prefix and the extension is
     
    10441048      }
    10451049    }
     1050   
     1051    secure_directory($high_dir);
    10461052   
    10471053    // high resolution path, same name as web size file
Note: See TracChangeset for help on using the changeset viewer.