From ad2879b89a96cad751dd161fe01bc78aaabacc79 Mon Sep 17 00:00:00 2001 From: PiBa-NL Date: Mon, 31 Aug 2015 01:09:10 +0200 Subject: bootstrap, use require_once for classes/Form.class.php --- src/usr/local/www/diag_smart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/usr/local/www/diag_smart.php') diff --git a/src/usr/local/www/diag_smart.php b/src/usr/local/www/diag_smart.php index d09a891..22592f5 100644 --- a/src/usr/local/www/diag_smart.php +++ b/src/usr/local/www/diag_smart.php @@ -111,7 +111,7 @@ if (!file_exists('/dev/' . $targetdev)) { return; } -require('classes/Form.class.php'); +require_once('classes/Form.class.php'); $tab_array = array(); $tab_array[0] = array(gettext("Information/Tests"), ($action != 'config'), $_SERVER['PHP_SELF'] . "?action=default"); -- cgit v1.1