Browse Source

on redirige vers /admin/ si ok

master
Cabillot Julien 5 years ago
parent
commit
21ea8d42e0
1 changed files with 2 additions and 2 deletions
  1. 4
      controller/download.php

4
controller/download.php

@ -14,9 +14,9 @@ function addDownload()
exit();
}
foreach($myurls as $url) {
foreach($myurls as $url) {
Download::addDownload($url);
}
echo json_encode('Ok');
header('Location: /admin/');
}
Loading…
Cancel
Save