| | |
| | | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| | | */ |
| | | |
| | | require_once('../../lib/config.inc.php'); |
| | | require_once('../../lib/app.inc.php'); |
| | | require_once '../../lib/config.inc.php'; |
| | | require_once '../../lib/app.inc.php'; |
| | | |
| | | //* Check permissions for module |
| | | $app->auth->check_module_permissions('dashboard'); |
| | |
| | | |
| | | //* load language file |
| | | $lng_file = 'lib/lang/'.$_SESSION['s']['language'].'.lng'; |
| | | include($lng_file); |
| | | include $lng_file; |
| | | $app->tpl->setVar($wb); |
| | | |
| | | //* set Default - Values |
| | |
| | | if ($file != '.' && $file != '..' && !is_dir($file)) { |
| | | $dashlet_name = substr($file,0,-4); |
| | | $dashlet_class = 'dashlet_'.$dashlet_name; |
| | | include_once(ISPC_WEB_PATH.'/dashboard/dashlets/'.$file); |
| | | include_once ISPC_WEB_PATH.'/dashboard/dashlets/'.$file; |
| | | $dashlet_list[$dashlet_name] = new $dashlet_class; |
| | | } |
| | | } |