fixed indentation in start-commit.in

This commit is contained in:
hyung-hwan 2014-06-23 10:18:00 +00:00
parent 3bcd394501
commit 4b70c0a4c6

View File

@ -12,23 +12,23 @@ my $USER = $ARGV[1];
sub get_config sub get_config
{ {
my $cfg = new Config::Simple(); my $cfg = new Config::Simple();
if (!$cfg->read ($CFG_FILE)) if (!$cfg->read ($CFG_FILE))
{ {
return undef; return undef;
} }
my $config = { my $config = {
database_hostname => $cfg->param ("database_hostname"), database_hostname => $cfg->param ("database_hostname"),
database_username => $cfg->param ("database_username"), database_username => $cfg->param ("database_username"),
database_password => $cfg->param ("database_password"), database_password => $cfg->param ("database_password"),
database_name => $cfg->param ("database_name"), database_name => $cfg->param ("database_name"),
database_driver => $cfg->param ("database_driver"), database_driver => $cfg->param ("database_driver"),
database_prefix => $cfg->param ("database_prefix") database_prefix => $cfg->param ("database_prefix")
}; };
return $config; return $config;
} }
sub open_database sub open_database