fix : pb after changing langs directory
This commit is contained in:
parent
261df0601c
commit
41d770c992
@ -70,12 +70,13 @@ class modPhenix 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("phenix.php");
|
||||
$this->config_page_url = array("phenix.php@phenix");
|
||||
|
||||
// Dependencies
|
||||
$this->depends = array(); // List of modules id that must be enabled if this module is enabled
|
||||
$this->requiredby = array(); // List of modules id to disable if this one is disabled
|
||||
|
||||
$this->langfiles = array("@phenix");
|
||||
|
||||
// Constants
|
||||
$this->const = array(); // List of parameters
|
||||
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
\version $Id$
|
||||
*/
|
||||
|
||||
include_once(DOL_DOCUMENT_ROOT.'/phenix/phenix.class.php');
|
||||
include_once(DOL_DOCUMENT_ROOT.'/phenix/class/phenix.class.php');
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -23,13 +23,13 @@
|
||||
* \version $Id$
|
||||
*/
|
||||
|
||||
require("../main.inc.php");
|
||||
require("../../main.inc.php");
|
||||
require_once(DOL_DOCUMENT_ROOT."/lib/admin.lib.php");
|
||||
|
||||
$servicename='PayBox';
|
||||
|
||||
$langs->load("admin");
|
||||
$langs->load("paybox");
|
||||
$langs->load("@paybox");
|
||||
|
||||
if (!$user->admin)
|
||||
accessforbidden();
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
|
||||
require("../main.inc.php");
|
||||
require_once(DOL_DOCUMENT_ROOT."/lib/admin.lib.php");
|
||||
require_once(DOL_DOCUMENT_ROOT.'/phenix/phenix.class.php');
|
||||
require_once(DOL_DOCUMENT_ROOT.'/phenix/class/phenix.class.php');
|
||||
|
||||
|
||||
if (!$user->admin)
|
||||
@ -20,7 +20,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
\file htdocs/phenix/phenix.class.php
|
||||
\file htdocs/phenix/class/phenix.class.php
|
||||
\ingroup phenix
|
||||
\brief Ensemble des fonctions permettant d'acceder a la database phenix.
|
||||
\author Laurent Destailleur.
|
||||
Loading…
Reference in New Issue
Block a user