<?php
/*
Define your OSCam Servers here. For each Server one
block must be defined. If you need more just dupicate
a block and edit the settings.
Below you see a example with three server with the names
Server1, Server2 and Server3
*/
$server["Server1"] = array(
"url" => "192.168.xxx.xxx",
"port" => "80",
"user" => "admin",
"pass" => "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"ssl" => true
);
$server["Server2"] = array(
"url" => "192.168.0.2",
"port" => "88",
"user" => "USERNAME",
"pass" => "PASSWORT",
"ssl" => false
);
$server["Server3"] = array(
"url" => "192.168.0.3",
"port" => "8080",
"user" => "USERNAME",
"pass" => "PASSWORT",
"ssl" => false
);
?>
<?php
/*
Here your users must be defined. For each user must be
one block defined. If you need more just dupicate a block
and edit the settings.
In the tabs section you have to define which tabs of OSCam Info
the user can be access. Avaiable are: clients, readers, pairs, log
In the onlyclients section you can define which conncted clients the
user will see. You can set a unique clientname or a protocol. If you
set a protocol all users which are using this protocol will be shown.
To allow to see all clients just uncomment the section or delete it,
like user bill in the example config.
In the onlyreaders section you can define which conncted readers the
user will see. You can set a unique readername or a protocol. If you
set a protocol all readers which are using this protocol will be shown.
To allow to see all readers just uncommend the section or delete it,
like user bill in the example config.
In the oscam section you have to define which oscam servers (defined
in config.oscam.php) the user can access.
In the sort section the default sorting can be defined after logging
in. Possible values are:
identname_asc,identname_desc,country_asc,country_desc,protocol_asc,
protocol_desc,request_asc,request_desc,ecmtime_asc,ecmtime_desc,
loggedin_asc,loggedin_desc,lastactivity_asc,lastactivity_desc,
connection_asc,connection_desc
Below you see a example with three users with the usernames
john, james and bill.
*/
$user["admin"] = array(
"password" => "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"tabs" => "clients,readers,pairs,log",
// "onlyclients" => "newcamd,peer1,peer2",
// "onlyreaders" => "mouse,reader1",
"oscam" => "Server1,Server2,Server3",
"sort" => ""
);
$user["james"] = array(
"password" => "mypass",
"tabs" => "clients,pairs",
"onlyclients" => "peer1",
"onlyreaders" => "cccam",
"oscam" => "Server1,Server3",
"sort" => ""
);
$user["bill"] = array(
"password" => "mypass",
"tabs" => "clients",
// "onlyclients" => "cccam,peer1",
// "onlyreaders" => "mouse",
"oscam" => "Server1",
"sort" => ""
);
?>