Fix: problem with user module constant
This commit is contained in:
parent
265ea1dbc8
commit
2b5f711720
@ -183,6 +183,10 @@ class Conf
|
|||||||
// Exception: Some dir are not the name of module. So we keep exception here
|
// Exception: Some dir are not the name of module. So we keep exception here
|
||||||
// for backward compatibility.
|
// for backward compatibility.
|
||||||
|
|
||||||
|
// Module user
|
||||||
|
$this->user->dir_output=$rootfordata."/users";
|
||||||
|
$this->user->dir_temp=$rootfordata."/users/temp";
|
||||||
|
|
||||||
// Module RSS
|
// Module RSS
|
||||||
$this->externalrss->dir_output=$rootfordata."/rss";
|
$this->externalrss->dir_output=$rootfordata."/rss";
|
||||||
$this->externalrss->dir_temp=$rootfordata."/rss/temp";
|
$this->externalrss->dir_temp=$rootfordata."/rss/temp";
|
||||||
|
|||||||
@ -82,24 +82,36 @@ class modComptabiliteExpert extends DolibarrModules
|
|||||||
|
|
||||||
$this->dirs[$r][0] = "output";
|
$this->dirs[$r][0] = "output";
|
||||||
$this->dirs[$r][1] = "/comptaexpert";
|
$this->dirs[$r][1] = "/comptaexpert";
|
||||||
|
$this->dirs[$r][2] = 1;
|
||||||
|
$this->dirs[$r][3] = "";
|
||||||
|
$this->dirs[$r][4] = "comptaexpert";
|
||||||
|
|
||||||
$r++;
|
$r++;
|
||||||
$this->dirs[$r][0] = "temp";
|
$this->dirs[$r][0] = "temp";
|
||||||
$this->dirs[$r][1] = "/comptaexpert/temp";
|
$this->dirs[$r][1] = "/comptaexpert/temp";
|
||||||
|
$this->dirs[$r][2] = 1;
|
||||||
|
$this->dirs[$r][3] = "";
|
||||||
|
$this->dirs[$r][4] = "comptaexpert";
|
||||||
|
|
||||||
$r++;
|
$r++;
|
||||||
$this->dirs[$r][0] = "rapport";
|
$this->dirs[$r][0] = "output";
|
||||||
$this->dirs[$r][1] = "/comptaexpert/rapport";
|
$this->dirs[$r][1] = "/comptaexpert/rapport";
|
||||||
|
$this->dirs[$r][2] = 1;
|
||||||
|
$this->dirs[$r][3] = "rapport";
|
||||||
|
$this->dirs[$r][4] = "comptaexpert";
|
||||||
|
|
||||||
$r++;
|
$r++;
|
||||||
$this->dirs[$r][0] = "export";
|
$this->dirs[$r][0] = "output";
|
||||||
$this->dirs[$r][1] = "/comptaexpert/export";
|
$this->dirs[$r][1] = "/comptaexpert/export";
|
||||||
|
$this->dirs[$r][2] = 1;
|
||||||
|
$this->dirs[$r][3] = "export";
|
||||||
|
$this->dirs[$r][4] = "comptaexpert";
|
||||||
|
|
||||||
// Repertoires
|
// Repertoires
|
||||||
$this->dirs = array();
|
//$this->dirs = array();
|
||||||
$this->dirs[0] = $conf->comptaexpert->dir_output;
|
//$this->dirs[0] = $conf->comptaexpert->dir_output;
|
||||||
$this->dirs[1] = $conf->comptaexpert->dir_output."/rapport";
|
//$this->dirs[1] = $conf->comptaexpert->dir_output."/rapport";
|
||||||
$this->dirs[2] = $conf->comptaexpert->dir_output."/export";
|
//$this->dirs[2] = $conf->comptaexpert->dir_output."/export";
|
||||||
|
|
||||||
// Boites
|
// Boites
|
||||||
$this->boxes = array();
|
$this->boxes = array();
|
||||||
|
|||||||
@ -68,10 +68,12 @@ class modUser extends DolibarrModules
|
|||||||
|
|
||||||
$this->dirs[$r][0] = "output";
|
$this->dirs[$r][0] = "output";
|
||||||
$this->dirs[$r][1] = "/users";
|
$this->dirs[$r][1] = "/users";
|
||||||
|
$this->dirs[$r][2] = 1;
|
||||||
|
|
||||||
$r++;
|
$r++;
|
||||||
$this->dirs[$r][0] = "temp";
|
$this->dirs[$r][0] = "temp";
|
||||||
$this->dirs[$r][1] = "/users/temp";
|
$this->dirs[$r][1] = "/users/temp";
|
||||||
|
$this->dirs[$r][2] = 1;
|
||||||
|
|
||||||
// Config pages
|
// Config pages
|
||||||
// $this->config_page_url = array("/user/admin/index.php");
|
// $this->config_page_url = array("/user/admin/index.php");
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
|
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
|
||||||
* Copyright (C) 2005-2009 Regis Houssin <regis@dolibarr.fr>
|
* Copyright (C) 2005-2009 Regis Houssin <regis@dolibarr.fr>
|
||||||
* Copyright (C) 2005 Lionel COUSTEIX <etm_ltd@tiscali.co.uk>
|
* Copyright (C) 2005 Lionel Cousteix <etm_ltd@tiscali.co.uk>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user