diff options
Diffstat (limited to 'core/controllers/welcome.php')
-rw-r--r-- | core/controllers/welcome.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/controllers/welcome.php b/core/controllers/welcome.php index 0106535a..791ee192 100644 --- a/core/controllers/welcome.php +++ b/core/controllers/welcome.php @@ -116,6 +116,11 @@ class Welcome_Controller extends Template_Controller { $this->auto_render = false; } + public function profiler() { + Session::instance()->set("use_profiler", $this->input->get("use_profiler", false)); + url::redirect("welcome"); + } + private function _get_config_errors() { $errors = array(); if (!file_exists(VARPATH)) { |