kOffice Panel 2.1 Decoded For Xtream Codes (Updated)
updated with some fixes, code cleanup and missing files.
Before you proceed. This app needs connection to your Xtream Codes database!
Howto:
1- Download the file, extract and copy the content inside the "panel" folder to your server. (I will not go into details of how you should configure PHP, Apache /Nginx! this is a simple site...)
2- Create a new DB and user for kOffice
3- Import in the kOffice DB the file inside the "db" folder. (office_panel2.sql)
4- Now, open the file "sys/config.php" and edit:
/* OFFICE PANEL DATABASE SETTINGS */ /* CONFIGURAÇÕES DO BANCO DE DADOS DO PAINEL OFFICE */
define("OFFICE_DB_HOST", "127.0.0.1"); <- Insert here the kOffice MySQL/MariaDB IP.
define("OFFICE_DB_PORT", "3306"); <- Insert here the kOffice MySQL/MariaDB Port.
define("OFFICE_DB_NAME", "office_panel2"); <- IInsert here the kOffice MySQL/MariaDB database Name.
define("OFFICE_DB_USER", "root"); <- IInsert here the kOffice MySQL/MariaDB database User.
define("OFFICE_DB_PASS", "password"); <- IInsert here the kOffice MySQL/MariaDB database Password.
/* XTREAM PANEL DATABASE SETTINGS */ /* CONFIGURAÇÕES DO BANCO DE DADOS DO SERVIDOR XTREAM CODES */
define('DB_HOST', '127.0.0.1'); <- Insert here the Xtream MySQL/MariaDB IP.
define('DB_PORT', '3306'); <- Insert here the Xtream MySQL/MariaDB Port.
define('DB_NAME', 'xtream_iptvpro'); <- IInsert here the Xtream MySQL/MariaDB database Name.
define('DB_USER', 'root'); <- IInsert here the Xtream MySQL/MariaDB database User.
define('DB_PASS', 'password'); <- IInsert here the Xtream MySQL/MariaDB database Password.
5- Open in your browser the install script (your-domain-or-ip)
6- Edit the information and hit the "Concluir" button. After that, delete the file install.php from your server!
7- Go to https://your-domain-or-ip and login with your Xtream Codes admin user and password.
Please, DO NOT say this script does not work. It has been tested by me and is working!
Demo kofficepanel.com