diff --git a/interface/web/dashboard/dashboard.php b/interface/web/dashboard/dashboard.php index 97795a8056ba73b1d5a6e564e255bb6979e2c31f..f2d2f4d6afba568b281069b1a876beb827957569 100644 --- a/interface/web/dashboard/dashboard.php +++ b/interface/web/dashboard/dashboard.php @@ -87,12 +87,14 @@ $app->tpl->setVar('welcome_user', $welcome); $info = array(); /* - * Check the ISPConfig-Version + * Check the ISPConfig-Version (only for the admin) */ -$new_version = @file_get_contents('http://www.ispconfig.org/downloads/ispconfig3_version.txt'); -$new_version = trim($new_version); -if($new_version != ISPC_APP_VERSION) { - $info[] = array('info_msg' => 'There is a new Version of ISPConfig 3 available! See more...'); +if($_SESSION["s"]["user"]["typ"] == 'admin') { + $new_version = @file_get_contents('http://www.ispconfig.org/downloads/ispconfig3_version.txt'); + $new_version = trim($new_version); + if($new_version != ISPC_APP_VERSION) { + $info[] = array('info_msg' => 'There is a new Version of ISPConfig 3 available! See more...'); + } } $app->tpl->setloop('info', $info);