Ignore:
Timestamp:
May 3, 2010, 2:49:26 PM (14 years ago)
Author:
plg
Message:

bug 1639 fixed: the upload form now correctly uses the $confupload_dir
parameter (web API already use it).

By default, the $confupload_dir is no longer dependent to PHPWG_ROOT_PATH
because it becomes a real mess when admin/include/uploadify.php (called
directly, not from an include) tries to perform an upload.

Improvement: make clearer how $confupload_dir can be set (relative to the
Piwigo installation directory + HTTP reachable)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/photos_add_direct.php

    r6051 r6052  
    120120      if ('zip' == strtolower($extension))
    121121      {
    122         $upload_dir = PHPWG_ROOT_PATH.'upload/buffer';
     122        $upload_dir = $conf['upload_dir'].'/buffer';
    123123        prepare_directory($upload_dir);
    124124       
Note: See TracChangeset for help on using the changeset viewer.