<?php
rg_log("/inc/dispatch/dispatch");
switch ($op) {
case 'home':
include($INC . "/home/home.php");
$body .= $_home;
break;
case 'login':
include($INC . "/login/login.php");
$body .= $_login;
break;
case 'logout':
if (rg_sess_destroy($db, $sid, $rg_ui)) {
$redispatch = 1;
$op = "bye";
} else {
$body .= "Not OK!";
}
break;
case 'repo':
include($INC . "/repo/repo.php");
$body .= $_repo;
break;
case 'repopage':
include($INC . "/repo/repo_page.php");
$body .= $_repo;
break;
case 'admin':
include($INC . "/admin/admin.php");
$body .= $_admin;
break;
case 'keys':
include($INC . "/keys/keys.php");
$body .= $_keys;
break;
case 'forgot_link': // forgot pass link
include($INC . "/user/forgot.php");
$body .= $_forgot;
break;
case 'forgot_send': // forgot pass - send mail
include($INC . "/user/forgot_send.php");
$body .= $_forgot;
break;
case 'bye':
include($INC . "/bye/bye.php");
$body .= $_bye;
break;
case 'personal':
include($INC . "/personal/personal.php");
$body .= $_personal;
break;
case 'create_account':
include($INC . "/user/create.php");
$body .= $_create;
break;
case 'confirm':
include($INC . "/user/confirm.php");
$body .= $_confirm;
break;
case 'suggestion':
include($INC . "/feedback/suggestion.php");
$body .= $_suggestion;
break;
default:
rg_log("Invalid operation!");
}
?>
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/rocketgit
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/rocketgit
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master