Issues (321)

debugger/index.php (1 issue)

Labels
Severity
1
<?php
2
3
$query = '';
4
if (isset($_GET['run'])) {
5
    $path = parse_url($_GET['run']);
6
    if (isset($path['query'])) {
7
        $query = '?' . $path['query'];
8
    }
9
}
10
11
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
12
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
13
<html lang="en">
14
<head>
15
    <link rel="icon" type="image/vnd.microsoft.icon" href="favicon.ico">
16
    <title><?php if (defined('DEFAULT_WSTYPE') && DEFAULT_WSTYPE == 1) echo 'JSON-RPC'; else echo 'XML-RPC'; ?> Debugger</title>
0 ignored issues
show
The constant DEFAULT_WSTYPE was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
17
</head>
18
<frameset rows="360,*">
19
    <frame name="frmcontroller" src="controller.php<?php echo htmlspecialchars($query); ?>" marginwidth="0"
20
           marginheight="0" frameborder="0"/>
21
    <frame name="frmaction" src="action.php" marginwidth="0" marginheight="0" frameborder="0"/>
22
</frameset>
23
</html>
24