Marius Cramer
2013-11-14 7fe908c50c8dbc5cc05f571dbe11d66141caacd4
interface/web/dashboard/dashboard.php
@@ -27,8 +27,8 @@
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');
@@ -39,7 +39,7 @@
//* load language file
$lng_file = 'lib/lang/'.$_SESSION['s']['language'].'.lng';
include($lng_file);
include $lng_file;
$app->tpl->setVar($wb);
//* set Default - Values
@@ -149,7 +149,7 @@
    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;
   }
}