| Server IP : 216.238.111.58 / Your IP : 216.73.217.34 Web Server : LiteSpeed System : Linux hosting.smartskills.com.br 4.18.0-553.120.1.el8_10.x86_64 #1 SMP Mon Apr 20 18:04:27 EDT 2026 x86_64 User : skillsitcom ( 1002) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/skillsitcom/.trash/dashboard/ |
Upload File : |
<?php
function plugin_init_dashboard() {
global $PLUGIN_HOOKS, $LANG ;
$PLUGIN_HOOKS['csrf_compliant']['dashboard'] = true;
Plugin::registerClass('PluginDashboardConfig', [
'addtabon' => ['Entity']
]);
$PLUGIN_HOOKS["menu_toadd"]['dashboard'] = array('plugins' => 'PluginDashboardConfig');
$PLUGIN_HOOKS['config_page']['dashboard'] = 'front/index.php';
}
function plugin_version_dashboard(){
global $DB, $LANG;
return array('name' => __('Dashboard','dashboard'),
'version' => '0.9.6',
'author' => '<a href="mailto:stevenesdonato@gmail.com"> Stevenes Donato </b> </a>',
'license' => 'GPLv2+',
'homepage' => 'https://forge.glpi-project.org/projects/dashboard',
'minGlpiVersion' => '9.2'
);
}
function plugin_dashboard_check_prerequisites(){
if (GLPI_VERSION >= 9.2){
return true;
} else {
echo "GLPI version NOT compatible. Requires GLPI >= 9.2";
}
}
function plugin_dashboard_check_config($verbose=false){
if ($verbose) {
echo 'Installed / not configured';
}
return true;
}
?>