From: Christian Weiske Date: Fri, 10 Dec 2010 17:01:42 +0000 (+0100) Subject: make scripts work again (config path) X-Git-Tag: 1.0.0~65 X-Git-Url: https://git.cweiske.de/linksys-wrt3g-tools.git/commitdiff_plain/634ed3ee088747d4d53ff739d4df5883cdeb59e7 make scripts work again (config path) --- diff --git a/scripts/munin.php b/scripts/munin.php index 2b7a9e9..184f889 100755 --- a/scripts/munin.php +++ b/scripts/munin.php @@ -11,7 +11,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'; if (isset($argv[1]) && $argv[1] == 'autoconf') { diff --git a/scripts/reboot.php b/scripts/reboot.php index cdc3710..53b8b96 100644 --- a/scripts/reboot.php +++ b/scripts/reboot.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 { diff --git a/scripts/status.php b/scripts/status.php index 9f94371..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();