Skip to content
Snippets Groups Projects
Commit d881cfaf authored by Philippe Grand's avatar Philippe Grand
Browse files

upgrade to new directory tree

parent 11a6acce
No related branches found
No related tags found
No related merge requests found
......@@ -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>'; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment