Added xml.php for debugging
git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@13 3873ddee-7413-0410-b6c4-c2c57c1ab35a
This commit is contained in:
parent
5cdb05bfef
commit
d29bee992f
2 changed files with 7 additions and 0 deletions
|
@ -42,6 +42,11 @@ $pages[2]['title'] = "supported protocols";
|
|||
$pages[3]['nr'] = 3;
|
||||
$pages[3]['title'] = "supported routers";
|
||||
|
||||
if ($debug) {
|
||||
$pages[4]['nr'] = 4;
|
||||
$pages[4]['title'] = "xml";
|
||||
}
|
||||
|
||||
|
||||
$curpage = isset($_GET['page'])?$_GET['page']:0;
|
||||
$titleextra = $pages[$curpage]['title'];
|
||||
|
@ -687,6 +692,8 @@ $main[] = $text;
|
|||
"<p>Remember, if your router isn't here, check the result of ddclient --help</p>";
|
||||
$main[] = $text;
|
||||
|
||||
} else if ($page == 4) { // documentation
|
||||
require("xml.php");
|
||||
}
|
||||
?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-AU">
|
||||
|
|
0
html/xml.php
Normal file
0
html/xml.php
Normal file
Loading…
Reference in a new issue