aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2010-12-08 20:12:57 +0100
committerChristian Weiske <cweiske@cweiske.de>2010-12-08 20:12:57 +0100
commitceb9f52f0765af2f0eebca575d6107bf984b8cdb (patch)
treee7403381cc78a600ebbd8b5fa816b1c848ecfbce
parentd5dcda396569fa0f2bed65b7fb13d443ff8d0d1a (diff)
downloadlinksys-wrt3g-tools-ceb9f52f0765af2f0eebca575d6107bf984b8cdb.tar.gz
linksys-wrt3g-tools-ceb9f52f0765af2f0eebca575d6107bf984b8cdb.zip
begin pearification by renaming functions.php
-rw-r--r--Wrt3g.php (renamed from functions.php)0
-rwxr-xr-xmunin.php2
-rw-r--r--reboot.php2
-rw-r--r--status.php2
4 files changed, 3 insertions, 3 deletions
diff --git a/functions.php b/Wrt3g.php
index fa4693f..fa4693f 100644
--- a/functions.php
+++ b/Wrt3g.php
diff --git a/munin.php b/munin.php
index b645e5c..9b94cc3 100755
--- a/munin.php
+++ b/munin.php
@@ -12,7 +12,7 @@
* @link http://cweiske.de/linksys-wrt3g-tools.htm
*/
require_once dirname(__FILE__) . '/config.php';
-require_once dirname(__FILE__) . '/functions.php';
+require_once 'Wrt3g.php';
if (isset($argv[1]) && $argv[1] == 'autoconf') {
echo "yes\n";
diff --git a/reboot.php b/reboot.php
index a6c1981..a7be1be 100644
--- a/reboot.php
+++ b/reboot.php
@@ -11,7 +11,7 @@
* @link http://cweiske.de/linksys-wrt3g-tools.htm
*/
require_once dirname(__FILE__) . '/config.php';
-require_once dirname(__FILE__) . '/functions.php';
+require_once 'Wrt3g.php';
try {
$w = new Wrt3g();
diff --git a/status.php b/status.php
index 9adfd02..5384d91 100644
--- a/status.php
+++ b/status.php
@@ -11,7 +11,7 @@
* @link http://cweiske.de/linksys-wrt3g-tools.htm
*/
require_once dirname(__FILE__) . '/config.php';
-require_once dirname(__FILE__) . '/functions.php';
+require_once 'Wrt3g.php';
try {
$w = new Wrt3g();
$arStatus = $w->getStatus();