mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
upgrade to new directory tree
This commit is contained in:
parent
11a6acce5a
commit
d881cfafd7
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
@ -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');
|
||||
|
||||
|
||||
/**
|
||||
|
|
@ -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 '<html><title>Export cal</title><body>'; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user