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 ...@@ -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') { if ($this->basic || $what === 'config') {
$local_inc = $this->installer->createConfigLocalInc( $local_inc = $this->installer->createConfigLocalInc(
$_SESSION['STUDIP_INSTALLATION']['database']['host'], $_SESSION['STUDIP_INSTALLATION']['database']['host'],
...@@ -341,7 +341,6 @@ class Admin_InstallController extends Trails_Controller ...@@ -341,7 +341,6 @@ class Admin_InstallController extends Trails_Controller
$_SESSION['STUDIP_INSTALLATION']['system']['UNI_URL'], $_SESSION['STUDIP_INSTALLATION']['system']['UNI_URL'],
$_SESSION['STUDIP_INSTALLATION']['system']['UNI_CONTACT'] $_SESSION['STUDIP_INSTALLATION']['system']['UNI_CONTACT']
); );
$this->installer->createLibraryConfigInc();
// Update config entries // Update config entries
$this->installer->updateConfigInDatabase( $this->installer->updateConfigInDatabase(
......
...@@ -11,7 +11,7 @@ return [ ...@@ -11,7 +11,7 @@ return [
'gd' => true, 'gd' => true,
'mbstring' => true, 'mbstring' => true,
'json' => true, 'json' => true,
'ftp' => true, 'ftp' => 'ftp proxy Dateibereich',
'zip' => true, 'zip' => true,
'xsl' => 'Export', 'xsl' => 'Export',
'xml' => 'Export', 'xml' => 'Export',
......
...@@ -63,14 +63,6 @@ final class StudipInstaller ...@@ -63,14 +63,6 @@ final class StudipInstaller
return $template; 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) private function replaceVariable($variable, $replacement, $subject)
{ {
return preg_replace( return preg_replace(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment