summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_smart.php
diff options
context:
space:
mode:
authorDoug Wollison <doug@wollison.net>2015-11-21 12:51:32 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-11-23 07:54:20 -0500
commit02cc81eff934bd57edd809b14fae445e5c73cc65 (patch)
treefe1827df45c5f6958e00242a14e72e58b959199e /src/usr/local/www/diag_smart.php
parentf4001737d1b0afe09e9a7f806f5a9d81855fe105 (diff)
downloadpfsense-02cc81eff934bd57edd809b14fae445e5c73cc65.zip
pfsense-02cc81eff934bd57edd809b14fae445e5c73cc65.tar.gz
Added use of class autoloading (GUI stuff only)
Any GUI script that loads the guiconfig.inc file will have access to the autoloader.
Diffstat (limited to 'src/usr/local/www/diag_smart.php')
-rw-r--r--src/usr/local/www/diag_smart.php2
1 files changed, 0 insertions, 2 deletions
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");
OpenPOWER on IntegriCloud