- Added a new phpinfo menu item:

This commit is contained in:
mcndave committed 2023-10-31 16:12:26 +00:00
1 parent 64b9a779de
commit e898c6a23e
8 files changed
+60 -23

No files matched your search

@@ -33,4 +33,7 @@
<ul>
<li><a href="{% route 'lean.console:debugging-logs' %}">{% lang "lean.nav.debugging.logs" %}</a></li>
</ul>
<ul>
<li><a href="{% route 'lean.console:debugging-phpinfo' %}">{% lang "lean.nav.debugging.phpinfo" %}</a></li>
</ul>
</nav>
@@ -0,0 +1,22 @@
{% extends "lean-console/base/layout" %}
{% language.set "lean.debugging" %}
{% title _("title") %}
{% section "header" %}
<div class="page-title">{% _ "page-title" %}</div>
{% endsection %}
{% section "breadcrumb-items" %}
<li class="breadcrumb-item">{% _ 'phpinfo.breadcrumb' %}</li>
{% endsection %}
{% section "content" %}
<section>
<iframe src="data:text/html;base64,{{ base64_encode($phpinfo) }}" style="width:100%; height: calc(100vh - 112px - 8vh)">
</iframe>
</section>
{% endsection %}