tinycm rev 109

Small fix to dashboard
author Christophe Lincoln <pankso@slitaz.org>
date Thu Feb 23 02:50:40 2017 +0100 (2017-02-23)
parents b5820178a40b
children a82f38aff5ba
files plugins/dashboard/dashboard.cgi
line diff
     1.1 --- a/plugins/dashboard/dashboard.cgi	Thu Feb 23 02:22:48 2017 +0100
     1.2 +++ b/plugins/dashboard/dashboard.cgi	Thu Feb 23 02:50:40 2017 +0100
     1.3 @@ -18,7 +18,7 @@
     1.4  	DASHBOARD_TOOLS=""
     1.5  	for p in $(ls $plugins)
     1.6  	do
     1.7 -		. $plugins/$p/$p.conf
     1.8 +		[ -f "$plugins/$p/$p.conf" ] && . $plugins/$p/$p.conf
     1.9  	done
    1.10  	if check_auth && ! admin_user; then
    1.11  		ADMIN_TOOLS=""