|
Temporary 'hack' for v6 users.
Edit:
/usr/clearos/apps/dhcp/controllers/subnets.php
and find the following lines:
$data['lease_times'] = array();
$data['lease_times'][12] = 12 . " " . lang('base_hours');
$data['lease_times'][24] = 24 . " " . lang('base_hours');
Modify this file with editor like 'nano' or 'vi' as follows:
$data['lease_times'] = array();
$data['lease_times'][1] = 1 . " " . lang('base_hour');
$data['lease_times'][2] = 2 . " " . lang('base_hours');
$data['lease_times'][4] = 4 . " " . lang('base_hours');
$data['lease_times'][6] = 6 . " " . lang('base_hours');
$data['lease_times'][12] = 12 . " " . lang('base_hours');
$data['lease_times'][24] = 24 . " " . lang('base_hours'); |
|