remove hardcoded path in check meta service.

git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@5452 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
Julien Mathis 2008-07-03 10:54:16 +00:00
parent f841898429
commit ed37394fd5
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ GetOptions
## Set Database information
###########################
use vars qw($mysql_database_oreon $mysql_database_ods $mysql_host $mysql_user $mysql_passwd);
require "/usr/local/centreon/etc/conf.pm";
require "@CENTREON_ETC@/conf.pm";
my $dbh = DBI->connect("DBI:mysql:database=$mysql_database_oreon;host=$mysql_host","$mysql_user", "$mysql_passwd",{'RaiseError' => 1});
my $dbh2 = DBI->connect("DBI:mysql:database=$mysql_database_ods;host=$mysql_host","$mysql_user", "$mysql_passwd",{'RaiseError' => 1});