summaryrefslogtreecommitdiff
path: root/core/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'core/controllers')
-rw-r--r--core/controllers/welcome.php5
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)) {