Changeset 5013 for branches/2.0/include/ws_functions.inc.php
- Timestamp:
- Mar 1, 2010, 5:20:24 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/include/ws_functions.inc.php
r4953 r5013 912 912 function ws_images_add_chunk($params, &$service) 913 913 { 914 global $conf; 915 914 916 ws_logfile('[ws_images_add_chunk] welcome'); 915 917 // data … … 942 944 } 943 945 944 $upload_dir = PHPWG_ROOT_PATH.'upload/buffer';946 $upload_dir = $conf['upload_dir'].'/buffer'; 945 947 946 948 // create the upload directory tree if not exists … … 991 993 function merge_chunks($output_filepath, $original_sum, $type) 992 994 { 995 global $conf; 996 993 997 ws_logfile('[merge_chunks] input parameter $output_filepath : '.$output_filepath); 994 998 … … 1004 1008 } 1005 1009 1006 $upload_dir = PHPWG_ROOT_PATH.'upload/buffer';1010 $upload_dir = $conf['upload_dir'].'/buffer'; 1007 1011 $pattern = '/'.$original_sum.'-'.$type.'/'; 1008 1012 $chunks = array(); … … 1231 1235 // upload directory hierarchy 1232 1236 $upload_dir = sprintf( 1233 PHPWG_ROOT_PATH.'upload/%s/%s/%s',1237 $conf['upload_dir'].'/%s/%s/%s', 1234 1238 $year, 1235 1239 $month,
Note: See TracChangeset
for help on using the changeset viewer.