diff options
| author | 2026-07-05 22:26:33 -0600 | |
|---|---|---|
| committer | 2026-07-05 22:26:33 -0600 | |
| commit | 4e9f055b3811cca7b2c4b187d1021d2e81d23ede (patch) | |
| tree | 6c3923130ec52326e6818572d41ccbdc33a85ff7 | |
init
| -rw-r--r-- | bust_cache.php | 2 | ||||
| -rw-r--r-- | register.php | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/bust_cache.php b/bust_cache.php new file mode 100644 index 0000000..0cd47ad --- /dev/null +++ b/bust_cache.php @@ -0,0 +1,2 @@ +<?php +system("sudo /opt/cgit-space/sbin/bust_cache"); diff --git a/register.php b/register.php new file mode 100644 index 0000000..e5d31df --- /dev/null +++ b/register.php @@ -0,0 +1,3 @@ +<?php +// ?user=%s&auth_keys_url=%s +system("sudo /opt/cgit-space/sbin/make_new_user " . escapeshellarg($_GET['user']) . " " . escapeshellarg($_GET['auth_keys_url'])); |
