- Timestamp:
- Feb 10, 2012, 3:44:20 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions_upload.inc.php
r13030 r13082 297 297 { 298 298 // database registration 299 $file = pwg_db_real_escape_string(isset($original_filename) ? $original_filename : basename($file_path)); 299 300 $insert = array( 300 'file' => pwg_db_real_escape_string(isset($original_filename) ? $original_filename : basename($file_path)), 301 'file' => $file, 302 'name' => get_name_from_file($file), 301 303 'date_available' => $dbnow, 302 304 'path' => preg_replace('#^'.preg_quote(PHPWG_ROOT_PATH).'#', '', $file_path), -
trunk/admin/site_update.php
r12922 r13082 411 411 'id' => $next_element_id++, 412 412 'file' => $filename, 413 'name' => get_name_from_file($filename), 413 414 'date_available' => CURRENT_DATE, 414 415 'path' => $path,
Note: See TracChangeset
for help on using the changeset viewer.