UnrealIRCd Panel img/favicon.ico">

UnrealIRCd Admin Panel Configuration and Setup



Take me home!

auth_method)) ? $opts->auth_method : NULL; $auth_method_name = NULL; switch($auth_method) { case "sql_db": $auth_method_name = "SQLDB"; break; case "file_db": $auth_method_name = "FileDB"; break; } if ($auth_method) $am = new Plugin($auth_method); else { Message::Fail("Invalid parameters"); return; } if ($am->error) { Message::Fail("Couldn't load plugin \"$auth_method\": $am->error"); return; } $config["base_url"] = BASE_URL; $config["plugins"] = Array("$auth_method"); if ($auth_method == "sql_db") { $config["mysql"] = [ "host" => $opts->sql_host, "database" => $opts->sql_db, "username" => $opts->sql_user, "password" => $opts->sql_password, "table_prefix" => $opts->sql_table_prefix, ]; } generate_secrets(); /* First, write only the config file */ write_config_file(); if ($auth_method == "sql_db") { sql_db::delete_tables(); if (!sql_db::create_tables()) Message::Fail("Could not create SQL tables"); } else if ($auth_method == "file_db") { file_db::delete_db(); } $user = [ "user_name" => $opts->account_user, "user_pass" => $opts->account_password, "fname" => $opts->account_fname, "lname" => $opts->account_lname, "user_bio" => $opts->account_bio, "email" => $opts->account_email ]; create_new_user($user); $lkup = new PanelUser($opts->account_user); if (!$lkup->id) { Message::Fail("Could not create user"); return; } $lkup->add_meta('role', 'Super-Admin'); /* Now, write all the config (config.php + settings in DB) */ write_config(); ?>
The configuration file has been written. Now, log in to the panel to proceed with the rest of the installation.

Let's go!

The admin panel needs to be able to write the config file.
Please run: sudo chown -R
And after that, refresh this webpage.

If you have any questions about this, read the installation manual on permissions.
Database Backend

Which database backend would you like to use?

Please choose from the available options:

Next
Create your account

You need an account, let's make one.

Pick a username! Please make sure it's at least 3 characters long, contains no spaces, and is made of only letters and numbers.
Please choose a password that at least 8 characters long, contains at least one uppercase letter, one lowercase letter, one number and one symbol.
Back