Automatique configuration
This commit is contained in:
parent
d0bacf1c12
commit
95ef798797
@ -57,6 +57,11 @@ if(isset($opts->check))
|
|||||||
}
|
}
|
||||||
elseif(isset($opts->install))
|
elseif(isset($opts->install))
|
||||||
{
|
{
|
||||||
|
//Copie de la configuration
|
||||||
|
passthru('cp -v '.
|
||||||
|
$configDir.'/'.$hostname.'/configuration.ini' . ' ' .
|
||||||
|
$appconfigDir.'/configuration.ini');
|
||||||
|
|
||||||
//Modification des permissions
|
//Modification des permissions
|
||||||
passthru('chown -R www-data: '.APPLICATION_PATH.'/');
|
passthru('chown -R www-data: '.APPLICATION_PATH.'/');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user