Ignore:
Timestamp:
Mar 1, 2010, 5:20:24 PM (14 years ago)
Author:
plg
Message:

feature 1448 added: ability to set the upload directory (for pwg.images.add
API method).

Warning: due to risk on img src construction, the upload_dir must be relative
to the Piwigo directory itself.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/include/config_default.inc.php

    r4953 r5013  
    742742// or other plugin variables etc
    743743$conf['local_data_dir'] = dirname(dirname(__FILE__)).'/_data';
     744
     745// where should the API add photos?
     746$conf['upload_dir'] = PHPWG_ROOT_PATH.'upload';
    744747?>
Note: See TracChangeset for help on using the changeset viewer.