make scripts work again (config path)
authorChristian Weiske <cweiske@cweiske.de>
Fri, 10 Dec 2010 17:01:42 +0000 (18:01 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Fri, 10 Dec 2010 17:01:42 +0000 (18:01 +0100)
scripts/munin.php
scripts/reboot.php
scripts/status.php

index 2b7a9e93f81c2076378efd43c35d9e440e1b4a8a..184f889a8ab7d6df77df1ce73a6d9eca28f91195 100755 (executable)
@@ -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') {
index cdc37102d76f9ac52d142c24ac5c5d4dc9763bd3..53b8b969abc92fac4f12ce45fe342fb47cac6a41 100644 (file)
@@ -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 {
index 9f9437179ae19cb62b1c17b3f31fb132f3f15022..b75a5087a0df80d9679517fd8bb43dd71525373b 100644 (file)
@@ -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();