summaryrefslogtreecommitdiffstats
path: root/usr/local/www/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/index.php')
-rwxr-xr-xusr/local/www/index.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index 09d5a61..f6c6fe5 100755
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -158,7 +158,6 @@ while (false !== ($filename = readdir($dirhandle))) {
$widgetfiles[] = $filename;
}
-
##sort widgets alphabetically
sort($widgetfiles);
@@ -206,13 +205,11 @@ if ($config['widgets'] && $config['widgets']['sequence'] != "") {
}
$widgetlist = $savedwidgetfiles;
-}
-##no saved widget sequence found, build default list.
-else{
+} else{
+ // no saved widget sequence found, build default list.
$widgetlist = $widgetfiles;
}
-
##build list of php include files
$phpincludefiles = array();
$directory = "/usr/local/www/widgets/include/";
OpenPOWER on IntegriCloud