begin pearification by renaming functions.php
authorChristian Weiske <cweiske@cweiske.de>
Wed, 8 Dec 2010 19:12:57 +0000 (20:12 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Wed, 8 Dec 2010 19:12:57 +0000 (20:12 +0100)
Wrt3g.php [moved from functions.php with 100% similarity]
munin.php
reboot.php
status.php

similarity index 100%
rename from functions.php
rename to Wrt3g.php
index b645e5c..9b94cc3 100755 (executable)
--- 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";
index a6c1981..a7be1be 100644 (file)
@@ -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();
index 9adfd02..5384d91 100644 (file)
@@ -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();