%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64 User : addictionfreeind ( 1003) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Directory : /home/addictionfreeind/www/vendor/cakephp/debug_kit/src/Template/Element/ |
Upload File : |
<?php
/**
* Environment Panel Element
*
* Shows information about the current app environment
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
* @link http://cakephp.org CakePHP(tm) Project
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
use Cake\Error\Debugger;
/**
* @var \DebugKit\View\AjaxView $this
* @var array $app
* @var array $cake
* @var array $php
* @var array $hidef
*/
?>
<h2><?= __d('debug_kit', 'Application Constants') ?></h2>
<?php if (!empty($app)): ?>
<table cellspacing="0" cellpadding="0" class="debug-table">
<thead>
<tr>
<th><?= __d('debug_kit', 'Constant') ?></th>
<th><?= __d('debug_kit', 'Value') ?></th>
</tr>
</thead>
<tbody>
<?php foreach ($app as $key => $val): ?>
<tr>
<td><?= h($key) ?></td>
<td><?= h(Debugger::exportVar($val)) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php else: ?>
<div class="warning">
<?= __d('debug_kit', 'No application environment available.'); ?>
</div>
<?php endif; ?>
<h2><?= __d('debug_kit', 'CakePHP Constants') ?></h2>
<?php if (!empty($cake)): ?>
<table cellspacing="0" cellpadding="0" class="debug-table">
<thead>
<tr>
<th><?= __d('debug_kit', 'Constant') ?></th>
<th><?= __d('debug_kit', 'Value') ?></th>
</tr>
</thead>
<tbody>
<?php foreach ($cake as $key => $val): ?>
<tr>
<td><?= h($key) ?></td>
<td><?= h(Debugger::exportVar($val)) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php else: ?>
<div class="warning">
<?= __d('debug_kit', 'CakePHP environment unavailable.'); ?>
</div>
<?php endif; ?>
<h2><?= __d('debug_kit', 'INI Environment') ?></h2>
<?php if (!empty($ini)): ?>
<table cellspacing="0" cellpadding="0" class="debug-table">
<thead>
<tr>
<th>INI Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<?php foreach ($ini as $key => $val): ?>
<tr>
<td><?= h($key) ?></td>
<td><?= $this->Credentials->filter($val) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php else: ?>
<div class="warning">
<?= __d('debug_kit', 'ini environment unavailable.'); ?>
</div>
<?php endif; ?>
<h2><?= __d('debug_kit', 'PHP Environment') ?></h2>
<?php if (!empty($php)): ?>
<table cellspacing="0" cellpadding="0" class="debug-table">
<thead>
<tr>
<th><?= __d('debug_kit', 'Environment Variable') ?></th>
<th><?= __d('debug_kit', 'Value') ?></th>
</tr>
</thead>
<tbody>
<?php foreach ($php as $key => $val): ?>
<tr>
<td><?= h($key) ?></td>
<td><?= $this->Credentials->filter($val) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php else: ?>
<div class="warning">
<?= __d('debug_kit', 'PHP environment unavailable.'); ?>
</div>
<?php endif; ?>
<?php if (isset($hidef)): ?>
<h2><?= __d('debug_kit', 'Hidef Environment') ?></h2>
<?php if (!empty($hidef)): ?>
<table cellspacing="0" cellpadding="0" class="debug-table">
<thead>
<tr>
<th><?= __d('debug_kit', 'Constant') ?></th>
<th><?= __d('debug_kit', 'Value') ?></th>
</tr>
</thead>
<tbody>
<?php foreach ($hidef as $key => $val): ?>
<tr>
<td><?= h($key) ?></td>
<td><?= h(Debugger::exportVar($val)) ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<?php else: ?>
<div class="warning">
<?= __d('debug_kit', 'No Hidef environment available.'); ?>
</div>
<?php endif; ?>
<?php endif; ?>