diff --git a/htdocs/includes/modules/modWebcalendar.class.php b/htdocs/includes/modules/modWebcalendar.class.php index 115e63a8b96..4604073a813 100644 --- a/htdocs/includes/modules/modWebcalendar.class.php +++ b/htdocs/includes/modules/modWebcalendar.class.php @@ -72,7 +72,7 @@ class modWebcalendar 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("webcalendar.php"); + $this->config_page_url = array("webcalendar.php@webcal"); // Dependencies $this->depends = array(); // List of modules id that must be enabled if this module is enabled diff --git a/htdocs/admin/webcalendar.php b/htdocs/webcal/admin/webcalendar.php similarity index 99% rename from htdocs/admin/webcalendar.php rename to htdocs/webcal/admin/webcalendar.php index 070f3a7ee57..6112e12dbfb 100644 --- a/htdocs/admin/webcalendar.php +++ b/htdocs/webcal/admin/webcalendar.php @@ -27,9 +27,9 @@ * \version $Id$ */ -require("../main.inc.php"); +require("../../main.inc.php"); require_once(DOL_DOCUMENT_ROOT."/lib/admin.lib.php"); -require_once(DOL_DOCUMENT_ROOT.'/webcal/webcal.class.php'); +require_once(DOL_DOCUMENT_ROOT.'/webcal/class/webcal.class.php'); if (!$user->admin) diff --git a/htdocs/webcal/webcal.class.php b/htdocs/webcal/class/webcal.class.php similarity index 100% rename from htdocs/webcal/webcal.class.php rename to htdocs/webcal/class/webcal.class.php diff --git a/htdocs/includes/triggers/interface_modWebcalendar_Webcalsynchro.class.php b/htdocs/webcal/inc/triggers/interface_modWebcalendar_Webcalsynchro.class.php similarity index 99% rename from htdocs/includes/triggers/interface_modWebcalendar_Webcalsynchro.class.php rename to htdocs/webcal/inc/triggers/interface_modWebcalendar_Webcalsynchro.class.php index dcaa848d924..e9a0e10e0c4 100644 --- a/htdocs/includes/triggers/interface_modWebcalendar_Webcalsynchro.class.php +++ b/htdocs/webcal/inc/triggers/interface_modWebcalendar_Webcalsynchro.class.php @@ -23,7 +23,7 @@ \version $Id$ */ -include_once(DOL_DOCUMENT_ROOT.'/webcal/webcal.class.php'); +include_once(DOL_DOCUMENT_ROOT.'/webcal/class/webcal.class.php'); /** diff --git a/htdocs/webcal/webcalexport.php b/htdocs/webcal/webcalexport.php index 54b45e57356..b4db36508d0 100644 --- a/htdocs/webcal/webcalexport.php +++ b/htdocs/webcal/webcalexport.php @@ -26,7 +26,7 @@ set_include_path($_SERVER['DOCUMENT_ROOT'].'/htdocs'); require("../main.inc.php"); -require_once(DOL_DOCUMENT_ROOT.'/webcal/webcal.class.php'); +require_once(DOL_DOCUMENT_ROOT.'/webcal/class/webcal.class.php'); // C'est un wrapper, donc header vierge function llxHeader() { print 'Export cal'; }