diff options
author | Scott Dale <sdale@pfsense.org> | 2007-12-30 21:14:37 +0000 |
---|---|---|
committer | Scott Dale <sdale@pfsense.org> | 2007-12-30 21:14:37 +0000 |
commit | 9d488ea4fab1003178d17e9dd791872fc78b2a49 (patch) | |
tree | 18727f28265d877f403d0ea574e3f5118ffc78ff /usr/local/www/widgets/widgets/traffic_graphs.widget.php | |
parent | 65d4de2e8e1ceced029b0061327b402069554a31 (diff) | |
download | pfsense-9d488ea4fab1003178d17e9dd791872fc78b2a49.zip pfsense-9d488ea4fab1003178d17e9dd791872fc78b2a49.tar.gz |
include required files for when widget is being loaded by AJAX calls.
Diffstat (limited to 'usr/local/www/widgets/widgets/traffic_graphs.widget.php')
-rw-r--r-- | usr/local/www/widgets/widgets/traffic_graphs.widget.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/local/www/widgets/widgets/traffic_graphs.widget.php b/usr/local/www/widgets/widgets/traffic_graphs.widget.php index 884e4a4..dbeb3fd 100644 --- a/usr/local/www/widgets/widgets/traffic_graphs.widget.php +++ b/usr/local/www/widgets/widgets/traffic_graphs.widget.php @@ -30,9 +30,11 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -?> +require_once("guiconfig.inc"); +require_once("pfsense-utils.inc"); +require_once("functions.inc"); -<?php $i = 0; $ifdescrs = array('wan' => 'WAN', 'lan' => 'LAN'); + $i = 0; $ifdescrs = array('wan' => 'WAN', 'lan' => 'LAN'); for ($j = 1; isset($config['interfaces']['opt' . $j]); $j++) { $ifdescrs['opt' . $j] = $config['interfaces']['opt' . $j]['descr']; }?> |