summaryrefslogtreecommitdiff
path: root/core/controllers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-25 02:17:53 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-25 02:17:53 +0000
commitdcf3693b3ebcb75436da7df5d2171891357703aa (patch)
tree9d67c2613072f974d3a6b6c39b82647b9a84773b /core/controllers
parent85bdb606bf56a71b4b02fa353129b6c2cfe2b527 (diff)
Add theme debugging. Activate it in the [info] tab in the
scaffolding, then browse around your Gallery3 to see where you can add visible elements via modules.
Diffstat (limited to 'core/controllers')
-rw-r--r--core/controllers/welcome.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/controllers/welcome.php b/core/controllers/welcome.php
index 9f42c1c4..e4473f06 100644
--- a/core/controllers/welcome.php
+++ b/core/controllers/welcome.php
@@ -252,8 +252,8 @@ class Welcome_Controller extends Template_Controller {
url::redirect("welcome");
}
- public function profiler() {
- Session::instance()->set("use_profiler", $this->input->get("use_profiler", false));
+ public function session($key) {
+ Session::instance()->set($key, $this->input->get("value", false));
$this->auto_render = false;
url::redirect("welcome");
}