mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 13:06:14 +00:00
replace hard coded repository url
This commit is contained in:
parent
0ad32b5517
commit
cc12a00db9
|
@ -95,7 +95,7 @@ elseif ($action == "import") { /* {{{ */
|
|||
if(!$_POST['url']) {
|
||||
UI::exitError(getMLText("admin_tools"),getMLText("error_occured"));
|
||||
}
|
||||
$reposurl = 'http://seeddms.steinmann.cx/repository';
|
||||
$reposurl = $settings->_repositoryUrl;
|
||||
$content = file_get_contents($reposurl."/".$_POST['url']);
|
||||
$file = tempnam(sys_get_temp_dir(), '');
|
||||
file_put_contents($file, $content);
|
||||
|
|
Loading…
Reference in New Issue
Block a user