summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2014-09-17 20:19:17 (GMT)
committerChristian Pointner <equinox@helsinki.at>2014-09-17 20:19:17 (GMT)
commit4a6024bc89becc2d6cd191de72851d68dded014d (patch)
tree9855efd386cbbca1e8cfc6d4100b7e765df180a2
parent6d11ef4461929af9708f17dbbd8ce55d3f50a2f6 (diff)
wrong path to rd.conf
-rwxr-xr-xauthtoken.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/authtoken.json b/authtoken.json
index 954581d..3d6b8f4 100755
--- a/authtoken.json
+++ b/authtoken.json
@@ -9,7 +9,7 @@ sub get_token
{
my $username = shift;
- my $RD_CONF = "rd.conf";
+ my $RD_CONF = "/etc/rd.conf";
my $cfg = Config::IniFiles->new(-file => $RD_CONF) or return ('ERROR', "Config File Error: " . join("\n", @Config::IniFiles::errors), '');
my $dbhost = $cfg->val('mySQL', 'Hostname');