Automatique configuration

This commit is contained in:
Michael RICOIS 2011-10-25 15:56:10 +00:00
parent d0bacf1c12
commit 95ef798797

View File

@ -57,6 +57,11 @@ if(isset($opts->check))
}
elseif(isset($opts->install))
{
//Copie de la configuration
passthru('cp -v '.
$configDir.'/'.$hostname.'/configuration.ini' . ' ' .
$appconfigDir.'/configuration.ini');
//Modification des permissions
passthru('chown -R www-data: '.APPLICATION_PATH.'/');
}