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 b645e5c67fb900bd2ca1a4e3965c093ec9ff15ac..9b94cc334a0295f32428a867d62e96a693ed964e 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 a6c1981c71f3aff1fb97af4a3f4a639be7111b69..a7be1be5f80f38e3b40628aefd0cf9145f040991 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 9adfd020e178a8bc73ce064eb6de67f64d54cf59..5384d919f067e5efdb2fec5c20ccd25586d4a1de 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();