Add 'php/phpxmlrpc/' from commit 'cd5dbb4a511e7a616a61187a5de1a611a9748cbd'
[plcapi.git] / php / phpxmlrpc / debugger / index.php
diff --git a/php/phpxmlrpc/debugger/index.php b/php/phpxmlrpc/debugger/index.php
new file mode 100644 (file)
index 0000000..eff10ea
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+$query = '';
+if (isset($_GET['run'])) {
+    $path = parse_url($_GET['run']);
+    if (isset($path['query'])) {
+        $query = '?' . $path['query'];
+    }
+}
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
+<html>
+<head>
+    <title>XMLRPC Debugger</title>
+</head>
+<frameset rows="360,*">
+    <frame name="frmcontroller" src="controller.php<?php echo htmlspecialchars($query); ?>" marginwidth="0"
+           marginheight="0" frameborder="0"/>
+    <frame name="frmaction" src="action.php" marginwidth="0" marginheight="0" frameborder="0"/>
+</frameset>
+</html>