From 02cc81eff934bd57edd809b14fae445e5c73cc65 Mon Sep 17 00:00:00 2001 From: Doug Wollison Date: Sat, 21 Nov 2015 12:51:32 -0500 Subject: Added use of class autoloading (GUI stuff only) Any GUI script that loads the guiconfig.inc file will have access to the autoloader. --- src/usr/local/www/diag_smart.php | 2 -- 1 file changed, 2 deletions(-) (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 cccbdb7..7be9888 100644 --- a/src/usr/local/www/diag_smart.php +++ b/src/usr/local/www/diag_smart.php @@ -110,8 +110,6 @@ if (!file_exists('/dev/' . $targetdev)) { return; } -require_once('classes/Form.class.php'); - $tab_array = array(); $tab_array[0] = array(gettext("Information/Tests"), ($action != 'config'), $_SERVER['PHP_SELF'] . "?action=default"); $tab_array[1] = array(gettext("Config"), ($action == 'config'), $_SERVER['PHP_SELF'] . "?action=config"); -- cgit v1.1