Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1354

Přidáno uživatelem Michal Kliment před více než 12 roky(ů)

Oprava pristupovych prav u provozu (resi i #133).

Zobrazit rozdíly:

freenetis/branches/testing/application/controllers/traffic.php
$default_order_by = array('day', 'week', 'month', 'year');
// access control
//if (!$this->acl_check_view(get_class($this),'member'))
// Controller::error(ACCESS);
if (!$this->acl_check_view('Ulogd_Controller','member'))
Controller::error(ACCESS);
// get new selector
if (is_numeric($this->input->get('record_per_page')))
......
$page_word = null, $page = 1)
{
// access control
//if (!$this->acl_check_view(get_class($this),'ip_address'))
// Controller::error(ACCESS);
if (!$this->acl_check_view('Ulogd_Controller','ip_address'))
Controller::error(ACCESS);
// gets new selector
if (is_numeric($this->input->get('record_per_page')))
......
$default_order_by = array('day', 'week', 'month', 'year');
// access control
//if (!$this->acl_check_view(get_class($this),'member'))
// Controller::error(ACCESS);
if (!$this->acl_check_view('Ulogd_Controller','member'))
Controller::error(ACCESS);
// gets new selector
if (is_numeric($this->input->get('record_per_page')))
......
Controller::error(RECORD);
// access control
//if (!$this->acl_check_view(get_class($this),'member', $member->id))
// Controller::error(ACCESS);
if (!$this->acl_check_view('Ulogd_Controller','member', $member->id))
Controller::error(ACCESS);
// get new selector
if (is_numeric($this->input->get('record_per_page')))

Také k dispozici: Unified diff