Skip to content
Snippets Groups Projects
Commit bef855ea authored by André Noack's avatar André Noack
Browse files

remove obsolete libray_config from installer re #495

parent 617633b8
No related branches found
No related tags found
No related merge requests found
......@@ -326,7 +326,7 @@ class Admin_InstallController extends Trails_Controller
}
}
// COPY config.inc.php / config_local.inc.php / library_config.inc.php
// COPY config.inc.php / config_local.inc.php
if ($this->basic || $what === 'config') {
$local_inc = $this->installer->createConfigLocalInc(
$_SESSION['STUDIP_INSTALLATION']['database']['host'],
......@@ -341,7 +341,6 @@ class Admin_InstallController extends Trails_Controller
$_SESSION['STUDIP_INSTALLATION']['system']['UNI_URL'],
$_SESSION['STUDIP_INSTALLATION']['system']['UNI_CONTACT']
);
$this->installer->createLibraryConfigInc();
// Update config entries
$this->installer->updateConfigInDatabase(
......
......@@ -11,7 +11,7 @@ return [
'gd' => true,
'mbstring' => true,
'json' => true,
'ftp' => true,
'ftp' => 'ftp proxy Dateibereich',
'zip' => true,
'xsl' => 'Export',
'xml' => 'Export',
......
......@@ -63,14 +63,6 @@ final class StudipInstaller
return $template;
}
public function createLibraryConfigInc()
{
file_put_contents(
$this->base_path . '/config/library_config.inc.php',
file_get_contents($this->base_path . '/config/library_config.inc.php.dist')
);
}
private function replaceVariable($variable, $replacement, $subject)
{
return preg_replace(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment