mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Not necessary anymore in 3.1.0 since :
* N°4875 - Compiler : do not force the model.*.php file to be present in the module.*.php file ('datamodel' key)
* N°4280 - Module loading : do not crash if 'datamodel' file doesn't exists (model.*.php)
55 lines
1.4 KiB
PHP
55 lines
1.4 KiB
PHP
<?php
|
|
/**
|
|
* Copyright (C) 2013-2023 Combodo SARL
|
|
*
|
|
* This file is part of iTop.
|
|
*
|
|
* iTop is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU Affero General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* iTop is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Affero General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
*/
|
|
|
|
/** @noinspection PhpUnhandledExceptionInspection */
|
|
SetupWebPage::AddModule(
|
|
__FILE__, // Path to the current file, all other file names are relative to the directory containing this file
|
|
'itop-portal/3.1.0', array(
|
|
// Identification
|
|
'label' => 'Enhanced Customer Portal',
|
|
'category' => 'Portal',
|
|
// Setup
|
|
'dependencies' => array(
|
|
'itop-portal-base/2.7.0'
|
|
),
|
|
'mandatory' => false,
|
|
'visible' => true,
|
|
// Components
|
|
'datamodel' => array(
|
|
'main.itop-portal.php',
|
|
),
|
|
'webservice' => array(
|
|
//'webservices.itop-portal.php',
|
|
),
|
|
|
|
'data.struct' => array(
|
|
//'data.struct.itop-portal.xml',
|
|
),
|
|
'data.sample' => array(
|
|
//'data.sample.itop-portal.xml',
|
|
),
|
|
// Documentation
|
|
'doc.manual_setup' => '',
|
|
'doc.more_information' => '',
|
|
// Default settings
|
|
'settings' => array(
|
|
),
|
|
)
|
|
);
|