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();
|
$this->dirs = array();
|
||||||
|
|
||||||
// Config pages. Put here list of php page names stored in admmin directory used to setup module
|
// 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
|
// Dependencies
|
||||||
$this->depends = array(); // List of modules id that must be enabled if this module is enabled
|
$this->depends = array(); // List of modules id that must be enabled if this module is enabled
|
||||||
|
|||||||
@ -27,9 +27,9 @@
|
|||||||
* \version $Id$
|
* \version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("../main.inc.php");
|
require("../../main.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/admin.lib.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)
|
if (!$user->admin)
|
||||||
@ -23,7 +23,7 @@
|
|||||||
\version $Id$
|
\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');
|
set_include_path($_SERVER['DOCUMENT_ROOT'].'/htdocs');
|
||||||
|
|
||||||
require("../main.inc.php");
|
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
|
// C'est un wrapper, donc header vierge
|
||||||
function llxHeader() { print '<html><title>Export cal</title><body>'; }
|
function llxHeader() { print '<html><title>Export cal</title><body>'; }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user