X-Git-Url: https://git.cweiske.de/linksys-wrt3g-tools.git/blobdiff_plain/ace4f4e56406f2754b142b4252f0411636b5b49d..b92abe47b7290b0e861ddadaa7abcde5bc65cd6e:/scripts/status.php diff --git a/scripts/status.php b/scripts/status.php index 5384d91..b75a508 100644 --- a/scripts/status.php +++ b/scripts/status.php @@ -10,7 +10,7 @@ * @license AGPL v3 * @link http://cweiske.de/linksys-wrt3g-tools.htm */ -require_once dirname(__FILE__) . '/config.php'; +require_once dirname(__FILE__) . '/../config.php'; require_once 'Wrt3g.php'; try { $w = new Wrt3g(); @@ -20,5 +20,6 @@ try { } } catch (Exception $e) { echo 'Error: ' . $e->getMessage() . "\n"; + exit(1); } ?> \ No newline at end of file