summaryrefslogtreecommitdiffstats
path: root/app/controller/root.control.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/controller/root.control.php')
-rw-r--r--app/controller/root.control.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controller/root.control.php b/app/controller/root.control.php
index 7017ada..341fa8a 100644
--- a/app/controller/root.control.php
+++ b/app/controller/root.control.php
@@ -7,6 +7,7 @@ require_once "controller/except.control.php";
require_once "controller/auth.control.php";
require_once "controller/deauth.control.php";
require_once "controller/dashboard.control.php";
+require_once "controller/deleteacct.control.php";
/*
* Root-level controller for Scrott app. This object will delegate the page request to the
@@ -65,6 +66,7 @@ class Root extends Controller
switch ($argv[0])
{
case "logout": $ctrl = new Deauth(); break;
+ case "deleteaccount": $ctrl = new Deleteacct(); break;
default:
throw new Exception("The requested path is not valid.");
break;