@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phpmyadmin-ubuntu-m-2vcpu-16gb-blr1-01 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Current Path :
/
var
/
www
/
html
/
-wp-content
/
plugins
/
query-monitor
/
output
/
Path :
Upload File :
New :
File
Dir
/var/www/html/-wp-content/plugins/query-monitor/output/Headers.php
<?php /** * Abstract output class for HTTP headers. * * @package query-monitor */ abstract class QM_Output_Headers extends QM_Output { public function output() { $id = $this->collector->id; foreach ( $this->get_output() as $key => $value ) { if ( is_scalar( $value ) ) { header( sprintf( 'X-QM-%s-%s: %s', $id, $key, $value ) ); } else { header( sprintf( 'X-QM-%s-%s: %s', $id, $key, json_encode( $value ) ) ); } } } }