Remove php_path duplicate in auto-install
This commit is contained in:
parent
5c57f2b09a
commit
d90eb6a811
|
@ -129,6 +129,7 @@ HELP;
|
||||||
$configCache->set('database', 'password',
|
$configCache->set('database', 'password',
|
||||||
$this->getOption(['P', 'dbpass'],
|
$this->getOption(['P', 'dbpass'],
|
||||||
($save_db) ? getenv('MYSQL_PASSWORD') : ''));
|
($save_db) ? getenv('MYSQL_PASSWORD') : ''));
|
||||||
|
|
||||||
$php_path = $this->getOption(['b', 'phppath'], !empty('FRIENDICA_PHP_PATH') ? getenv('FRIENDICA_PHP_PATH') : null);
|
$php_path = $this->getOption(['b', 'phppath'], !empty('FRIENDICA_PHP_PATH') ? getenv('FRIENDICA_PHP_PATH') : null);
|
||||||
if (!empty($php_path)) {
|
if (!empty($php_path)) {
|
||||||
$configCache->set('config', 'php_path', $php_path);
|
$configCache->set('config', 'php_path', $php_path);
|
||||||
|
@ -150,10 +151,6 @@ HELP;
|
||||||
if (!empty($basepath)) {
|
if (!empty($basepath)) {
|
||||||
$configCache->set('system', 'basepath', $basepath);
|
$configCache->set('system', 'basepath', $basepath);
|
||||||
}
|
}
|
||||||
$php_path = $this->getOption(['B', 'phppath'], !empty(getenv('FRIENDICA_PHP_PATH')) ? getenv('FRIENDICA_PHP_PATH') : null);
|
|
||||||
if (!empty($php_path)) {
|
|
||||||
$configCache->set('config', 'php_path', $php_path);
|
|
||||||
}
|
|
||||||
|
|
||||||
$url = $this->getOption(['U', 'url'], !empty(getenv('FRIENDICA_URL')) ? getenv('FRIENDICA_URL') : null);
|
$url = $this->getOption(['U', 'url'], !empty(getenv('FRIENDICA_URL')) ? getenv('FRIENDICA_URL') : null);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user