r4255 move "gateways" part of the path to racktables_gwdir variable
[racktables] / wwwroot / inc / gateways.php
index 1a7a568f3faa8a0b7f97d5682a2246bdd0c7a288..72ed8bd3269934cded6158d8626ec783036e4202 100644 (file)
@@ -74,7 +74,7 @@ $gwpushxlator = array
 function queryGateway ($gwname, $questions)
 {
        global $racktables_gwdir;
-       $execpath = "${racktables_gwdir}/gateways/{$gwname}/main";
+       $execpath = "${racktables_gwdir}/{$gwname}/main";
        $dspec = array
        (
                0 => array ("pipe", "r"),