Changing default upload document ajax to overwrite. see #7244

1.9.x
Julio Montoya 11 years ago
parent 56f891ee1b
commit d7719972d2
  1. 2
      main/inc/ajax/document.ajax.php

@ -24,7 +24,7 @@ switch($action) {
exit;
}
$ifExists = isset($_POST['if_exists']) ? $_POST['if_exists'] : 'rename';
$ifExists = isset($_POST['if_exists']) ? $_POST['if_exists'] : 'overwrite';
if (!empty($_FILES)) {
require_once api_get_path(LIBRARY_PATH).'fileDisplay.lib.php';

Loading…
Cancel
Save