diff --git a/frontend/includes/include.base.php b/frontend/includes/include.base.php index 74b366f..576bb16 100644 --- a/frontend/includes/include.base.php +++ b/frontend/includes/include.base.php @@ -18,6 +18,7 @@ require("cphp/base.php"); require("include.exceptions.php"); require("include.constants.php"); require("include.parsing.php"); +require("classes/class.user.php"); require("classes/class.controller.php"); require("classes/class.container.php"); require("classes/class.node.php"); diff --git a/frontend/test.php b/frontend/test.php index 1ab7a68..dd67f4f 100644 --- a/frontend/test.php +++ b/frontend/test.php @@ -4,6 +4,7 @@ require("includes/include.base.php"); $settings['master_privkey'] = "/etc/cvm/key"; $settings['master_pubkey'] = "/etc/cvm/key.pub"; +$settings['salt'] = "kAU0qM"; if($_GET['action'] == "deploy") { @@ -31,6 +32,12 @@ else { $sContainer->AddIp($_GET['ip']); } + elseif($_GET['action'] == "user") + { + $sUser = new User(1); + + pretty_dump($sUser); + } else { echo("idk");