From 634ed3ee088747d4d53ff739d4df5883cdeb59e7 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Fri, 10 Dec 2010 18:01:42 +0100 Subject: [PATCH] make scripts work again (config path) --- scripts/munin.php | 2 +- scripts/reboot.php | 2 +- scripts/status.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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(); -- 2.30.2