Project

General

Profile

Actions

Bug #2638

closed

Captive portal status widget on the Dashboard is not working

Added by Yuri Keren about 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Captive Portal
Target version:
Start date:
09/18/2012
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1
Affected Architecture:
All

Description

This is due to the fact that in 2.1 zones were introduced and this widget still has code like (in /usr/local/www/widgets/widgets/captive_portal_status.widget.php):

if (file_exists("{$g['vardb_path']}/captiveportal.db")) {

instead of

if (file_exists("{$g['vardb_path']}/captiveportal_$cpzone.db")) {

Actions

Also available in: Atom PDF