Rename page to avoid to have an index.html page
This commit is contained in:
parent
594c94feb2
commit
dce3b3e7af
@ -67,7 +67,7 @@ class modExternalSite extends DolibarrModules
|
||||
$this->dirs = array();
|
||||
|
||||
// Config pages. Put here list of php page names stored in admmin directory used to setup module
|
||||
$this->config_page_url = array("externalsite.php@externalsite");
|
||||
$this->config_page_url = array("index.php@externalsite");
|
||||
|
||||
// Dependencies
|
||||
$this->depends = array(); // List of modules id that must be enabled if this module is enabled
|
||||
|
||||
@ -21,9 +21,9 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* \file htdocs/externalsite/admin/externalsite.php
|
||||
* \file htdocs/externalsite/admin/index.php
|
||||
* \ingroup externalsite
|
||||
* \brief Page de configuration du module externalsite
|
||||
* \brief Page to setup module external site
|
||||
*/
|
||||
|
||||
if (!defined('NOSCANPOSTFORINJECTION')) {
|
||||
@ -43,6 +43,11 @@ $langs->loadLangs(array('admin', 'other', 'externalsite'));
|
||||
|
||||
$action = GETPOST('action', 'aZ09');
|
||||
|
||||
|
||||
/*
|
||||
* Actions
|
||||
*/
|
||||
|
||||
// Sauvegardes parametres
|
||||
if ($action == 'update') {
|
||||
$i = 0;
|
||||
Loading…
Reference in New Issue
Block a user