@@ -6,7 +6,7 @@ discard block |
||
| 6 | 6 | $guest_vlan = 0; |
| 7 | 7 | error_log(serialize($_REQUEST)); |
| 8 | 8 | # when a request contains logid and backlog ";s:11:"DEBUG-11-52";s:7:"backlog";s:1:"7";} |
| 9 | -if ( isset($_REQUEST['logid']) && isset($_REQUEST['backlog']) ) { |
|
| 9 | +if (isset($_REQUEST['logid']) && isset($_REQUEST['backlog'])) { |
|
| 10 | 10 | if (substr($_REQUEST['logid'], 0, 5) == 'DEBUG') { |
| 11 | 11 | $logid = substr($_REQUEST['logid'], 6); |
| 12 | 12 | } |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | echo 'ZIPDATA:'.file_get_contents($res); |
| 23 | 23 | error_log('Sent data in response'); |
| 24 | 24 | } |
| 25 | - error_log('with '.$za->numFiles . ' files'); |
|
| 25 | + error_log('with '.$za->numFiles.' files'); |
|
| 26 | 26 | exit; |
| 27 | 27 | } |
| 28 | 28 | # MUST provide: deployment_id, inst_id |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | } |
| 41 | 41 | if (isset($_REQUEST['vlan']) && isset($_REQUEST['realmforvlan']) && |
| 42 | 42 | is_array($_REQUEST['realmforvlan'])) { |
| 43 | - $vlans = $_REQUEST['vlan'] . '#' . implode('#', $_REQUEST['realmforvlan']); |
|
| 43 | + $vlans = $_REQUEST['vlan'].'#'.implode('#', $_REQUEST['realmforvlan']); |
|
| 44 | 44 | } |
| 45 | 45 | if (isset($_REQUEST['guest_vlan'])) { |
| 46 | 46 | $guest_vlan = $_REQUEST['guest_vlan']; |