Website Summary Files Commits Branches @commit @diff @stats
path: root / controllers / test.php
diff options
context:
space:
mode:
Commit6aaa4ff113c9a5ca9c022d8fa39a43ffca288948 (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-01-18 20:41:48 +0200
Committer
 Kamen Mladenov <kamen@syndamia.com>
2025-01-19 07:46:17 +0200
Filesd36f9b6147da8b20a502a12d83151c3fecee6c75 /controllers/test.php
nowayforward_human-6aaa4ff113c9a5ca9c022d8fa39a43ffca288948.tar
nowayforward_human-6aaa4ff113c9a5ca9c022d8fa39a43ffca288948.tar.gz
nowayforward_human-6aaa4ff113c9a5ca9c022d8fa39a43ffca288948.zip
Parent91f9b1c6e8db741f2b6f55b84dab39b34c213d00 (diff)
feat(controllers): Add a test controller
1 files changed, 5 insertions, 0 deletions
-rw-r--r--controllers/test.php5
diff --git a/controllers/test.php b/controllers/test.php
new file mode 100644
index 0000000..1b3b2c4
--- /dev/null
+++ b/controllers/test.php
@@ -0,0 +1,5 @@
+<?php
+
+function on_post() {
+ Database\User::create($_POST["Username"], "", "User");
+}