Skip to content

Commit

Permalink
Fix mistake in import
Browse files Browse the repository at this point in the history
  • Loading branch information
torinfo committed Jul 3, 2022
1 parent 9c320cc commit a52a93b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website_code/php/import/import.php
Expand Up @@ -140,9 +140,9 @@ function make_new_template($type, $zip_path)

mkdir($new_path);

chmod($new_path);
chmod($new_path,0777);

copy_loop($zip_path, $xerte_toolkits_site->root_file_path . $xerte_toolkits_site->users_file_area_short . ($lastid) . "-" . $_SESSION['toolkits_logon_username'] . "-" . $type . "/");
copy_loop($zip_path, $new_path . "/");

// Remove oai-pmh consent flag if present from
if (file_exists($new_path . "/preview.xml"))
Expand Down

0 comments on commit a52a93b

Please sign in to comment.