mirror of
https://github.com/YunoHost-Apps/hotspot_ynh.git
synced 2024-09-03 19:25:53 +02:00
37 lines
No EOL
1.3 KiB
PHP
37 lines
No EOL
1.3 KiB
PHP
<?php if(option('env') > ENV_PRODUCTION && option('debug')): ?>
|
|
<?php if(!$is_http_error): ?>
|
|
<p>[<?php echo error_type($errno)?>]
|
|
<?php echo $errstr?> (in <strong><?php echo $errfile?></strong> line <strong><?php echo $errline?></strong>)
|
|
</p>
|
|
<?php endif; ?>
|
|
|
|
|
|
<?php if($debug_args = set('_lim_err_debug_args')): ?>
|
|
<h2 id="debug-arguments">Debug arguments</h2>
|
|
<pre><code><?php echo h(print_r($debug_args, true))?></code></pre>
|
|
<?php endif; ?>
|
|
|
|
<h2 id="limonade-options">Options</strong></h2>
|
|
<pre><code><?php echo h(print_r(option(), true))?></code></pre>
|
|
<p class="bt top"><a href="#header">[ ↑ ]</a></p>
|
|
|
|
<h2 id="environment">Environment</h2>
|
|
<pre><code><?php echo h(print_r(env(), true))?></code></pre>
|
|
<p class="bt top"><a href="#header">[ ↑ ]</a></p>
|
|
|
|
<h2 id="debug-backtrace">Backtrace</h2>
|
|
<pre><code><?php echo h(print_r(debug_backtrace(), true))?></code></pre>
|
|
<p class="bt top"><a href="#header">[ ↑ ]</a></p>
|
|
|
|
<div id="debug-menu">
|
|
|
|
<?php if($debug_args = set('_lim_err_debug_args')): ?>
|
|
<a href="#debug-arguments">Debug arguments</a> |
|
|
<?php endif; ?>
|
|
<a href="#limonade-options">Options</a> |
|
|
<a href="#environment">Environment</a> |
|
|
<a href="#debug-backtrace">Backtrace</a> |
|
|
<a href="#header">[ ↑ ]</a>
|
|
</div>
|
|
|
|
<?php endif; ?>
|