summaryrefslogtreecommitdiff
path: root/core/views
diff options
context:
space:
mode:
Diffstat (limited to 'core/views')
-rw-r--r--core/views/welcome.html.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/core/views/welcome.html.php b/core/views/welcome.html.php
index c9277efd..7b34927f 100644
--- a/core/views/welcome.html.php
+++ b/core/views/welcome.html.php
@@ -239,9 +239,16 @@
<? endif ?>
<li> Profiling:
<? if (Session::instance()->get("use_profiler", false)): ?>
- <b>on</b> <?= html::anchor("welcome/profiler?use_profiler=0", "off") ?>
+ <b>on</b> <?= html::anchor("welcome/session/profiler?value=0", "off") ?>
<? else: ?>
- <?= html::anchor("welcome/profiler?use_profiler=1", "on") ?> <b>off</b>
+ <?= html::anchor("welcome/session/profiler?value=1", "on") ?> <b>off</b>
+ <? endif ?>
+ </li>
+ <li> Debug:
+ <? if (Session::instance()->get("debug", false)): ?>
+ <b>on</b> <?= html::anchor("welcome/session/debug?value=0", "off") ?>
+ <? else: ?>
+ <?= html::anchor("welcome/session/debug?value=1", "on") ?> <b>off</b>
<? endif ?>
</li>
</ul>