git.cweiske.de
/
linksys-wrt3g-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix error
[linksys-wrt3g-tools.git]
/
scripts
/
status.php
diff --git
a/scripts/status.php
b/scripts/status.php
index 5384d919f067e5efdb2fec5c20ccd25586d4a1de..b75a5087a0df80d9679517fd8bb43dd71525373b 100644
(file)
--- a/
scripts/status.php
+++ b/
scripts/status.php
@@
-10,7
+10,7
@@
* @license AGPL v3
* @link http://cweiske.de/linksys-wrt3g-tools.htm
*/
* @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();
require_once 'Wrt3g.php';
try {
$w = new Wrt3g();
@@
-20,5
+20,6
@@
try {
}
} catch (Exception $e) {
echo 'Error: ' . $e->getMessage() . "\n";
}
} catch (Exception $e) {
echo 'Error: ' . $e->getMessage() . "\n";
+ exit(1);
}
?>
\ No newline at end of file
}
?>
\ No newline at end of file