Configure the date/time format.
$config['date_format']="Y-m-d";
$config['hour_format']="H:i:s";
Configure expiration.
// Expiration time examples: 4 hours, 20 hours, 10 seconds
$config['expiration_time'] = '30 minutes';
You need to host the ra_adminlog.txt and cd_hash.log or have internally access to configure the link/folder on 'path'.
Local file example for windows: 'path' => 'c:/prserver/logs/ra_admin_or_cdhash.txt',
Local file example for linux: 'path' => '/home/prserver/logs/ra_admin_or_cdhash.txt',
/* --------- SERVERS --------- */
$config['servers_list'][] = [
'id' => 1, // keep the sequential order
'name' => 'DIVSUL BRA', // server name
// log files
'ra_adminlog' => 'https://sposerver.divsul.com:666/PRServer/logs/ra_adminlog.txt',
'ra_adminlog_main' => 'https://sposerver.divsul.com:666/PRServer/logs/ra_adminlog_main.txt',
// hash files
'hash_active_log' => 'https://sposerver.divsul.com:666/PRServer/logs/cdhash.txt',
'path_hash' => 'https://sposerver.divsul.com:666/PRServer/logs/cdhash_main.txt',
// server Files
'whitelist' => 'https://sposerver.divsul.com:666/PRServer/logs/whitelist.txt',
'banlist' => 'https://sposerver.divsul.com:666/PRServer/logs/banlist.con',
'local_name' => 'divsul_bra.txt', // file name for this server
];
$config['servers_list'][] = [
'id' => 2, // keep the sequential order
'name' => 'DIVSUL USA', // server name
// log files
'ra_adminlog' => 'https://miaserver.divsul.com:666/PRServer/logs/ra_adminlog.txt', // filelog 1
'ra_adminlog_main' => 'https://miaserver.divsul.com:666/PRServer/logs/ra_adminlog_main.txt', // filelog 2
// hash files
'hash_active_log' => 'https://miaserver.divsul.com:666/PRServer/logs/cdhash.txt', // filelog 1
'path_hash' => 'https://miaserver.divsul.com:666/PRServer/logs/cdhash_main.txt', // filelog 2
// server Files
'whitelist' => 'https://miaserver.divsul.com:666/PRServer/logs/whitelist.txt',
'banlist' => 'https://miaserver.divsul.com:666/PRServer/logs/banlist.con',
'local_name' => 'divsul_usa.txt', // file name for this server
];
$config['require_login'] = false;
This feature change ip from 201.201.201.201 to 201.201.000.000
$config['hide_ips'] = true;
When you configure the 'password' with MD5, need to be encrypted and configure on the 'password' line.
$config['with_md5']=true;
$config['auth'] = [
0 => [
'id' => 1,
'username' => 'admin',
'password' => '21232f297a57a5a743894a0e4a801fc3',
'name'=>'Admin'
]
];
// width of page
$config['full_width'] = false;
// height of modal
$config['modal_height'] = '700px';
*** IMPORTANT NOTE *** Need write permissions on the folder public/logs
- Ferreira
- Danesh_italiano
- Jeferson Costa
- Renan Costa (xlShogunlx)