Qual: All library files must be in lib directory and called *.lib.php
This commit is contained in:
parent
02464c4a2c
commit
bd88573d1c
@ -1,21 +1,21 @@
|
|||||||
Alias /dolibarr "WAMPROOT/www/dolibarr/htdocs/"
|
Alias /dolibarr "WAMPROOT/www/dolibarr/htdocs/"
|
||||||
|
|
||||||
# to give access to dolibarr from outside
|
# NOTE:
|
||||||
# replace the lines
|
# To restrict access to dolibarr from outside set lines
|
||||||
#
|
#
|
||||||
# Order Deny,Allow
|
# Order Deny,Allow
|
||||||
# Deny from all
|
# Deny from all
|
||||||
# Allow from 127.0.0.1
|
# Allow from 127.0.0.1
|
||||||
#
|
#
|
||||||
# by
|
# instead of
|
||||||
#
|
#
|
||||||
# Order Allow,Deny
|
# Order Allow,Deny
|
||||||
# Allow from all
|
# Allow from all
|
||||||
#
|
#
|
||||||
|
|
||||||
<Directory "WAMPROOT/www/dolibarr/htdocs/">
|
<Directory "WAMPROOT/www/dolibarr/htdocs/">
|
||||||
Options Indexes FollowSymLinks MultiViews
|
Options Indexes FollowSymLinks MultiViews
|
||||||
AllowOverride all
|
AllowOverride all
|
||||||
Order Allow,Deny
|
Order Allow,Deny
|
||||||
Allow from all
|
Allow from all
|
||||||
</Directory>
|
</Directory>
|
||||||
@ -360,6 +360,7 @@ begin
|
|||||||
StringChange (srcContents, 'WAMPPHPVERSION', phpVersion);
|
StringChange (srcContents, 'WAMPPHPVERSION', phpVersion);
|
||||||
StringChange (srcContents, 'WAMPMYSQLVERSION', mysqlVersion);
|
StringChange (srcContents, 'WAMPMYSQLVERSION', mysqlVersion);
|
||||||
StringChange (srcContents, 'WAMPAPACHEVERSION', apacheVersion);
|
StringChange (srcContents, 'WAMPAPACHEVERSION', apacheVersion);
|
||||||
|
StringChange (srcContents, 'WAMPAPACHEPORT', apachePort);
|
||||||
SaveStringToFile(destFile, srcContents, False);
|
SaveStringToFile(destFile, srcContents, False);
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
@ -369,6 +370,7 @@ begin
|
|||||||
StringChange (srcContents, 'WAMPPHPVERSION', phpVersion);
|
StringChange (srcContents, 'WAMPPHPVERSION', phpVersion);
|
||||||
StringChange (srcContents, 'WAMPMYSQLVERSION', mysqlVersion);
|
StringChange (srcContents, 'WAMPMYSQLVERSION', mysqlVersion);
|
||||||
StringChange (srcContents, 'WAMPAPACHEVERSION', apacheVersion);
|
StringChange (srcContents, 'WAMPAPACHEVERSION', apacheVersion);
|
||||||
|
StringChange (srcContents, 'WAMPAPACHEPORT', apachePort);
|
||||||
SaveStringToFile(destFile, srcContents, False);
|
SaveStringToFile(destFile, srcContents, False);
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/html.formadmin.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/html.formadmin.class.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/menubase.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/core/menubase.class.php");
|
||||||
|
|
||||||
|
|
||||||
$langs->load("admin");
|
$langs->load("admin");
|
||||||
|
|||||||
@ -26,7 +26,7 @@
|
|||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/compta/tva/tva.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/compta/tva/tva.class.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/chargesociales.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/chargesociales.class.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/report.inc.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/report.lib.php");
|
||||||
|
|
||||||
|
|
||||||
$langs->load("bills");
|
$langs->load("bills");
|
||||||
|
|||||||
@ -24,7 +24,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/report.inc.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/report.lib.php");
|
||||||
|
|
||||||
|
|
||||||
$year_start=isset($_GET["year_start"])?$_GET["year_start"]:$_POST["year_start"];
|
$year_start=isset($_GET["year_start"])?$_GET["year_start"]:$_POST["year_start"];
|
||||||
|
|||||||
@ -24,7 +24,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/report.inc.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/report.lib.php");
|
||||||
|
|
||||||
|
|
||||||
$year=$_GET["year"];
|
$year=$_GET["year"];
|
||||||
|
|||||||
@ -16,18 +16,16 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/compta/stats/casoc.php
|
\file htdocs/compta/stats/casoc.php
|
||||||
\brief Page reporting CA par société
|
\brief Page reporting CA par société
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/report.inc.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/report.lib.php");
|
||||||
|
|
||||||
$langs->load("companies");
|
$langs->load("companies");
|
||||||
|
|
||||||
|
|||||||
@ -15,18 +15,16 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/compta/stats/index.php
|
\file htdocs/compta/stats/index.php
|
||||||
\brief Page reporting CA
|
\brief Page reporting CA
|
||||||
\version $Revision$
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/report.inc.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/report.lib.php");
|
||||||
|
|
||||||
|
|
||||||
$year_start=isset($_GET["year_start"])?$_GET["year_start"]:$_POST["year_start"];
|
$year_start=isset($_GET["year_start"])?$_GET["year_start"]:$_POST["year_start"];
|
||||||
|
|||||||
@ -27,7 +27,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/report.inc.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/report.lib.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/tax.lib.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/tax.lib.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/compta/tva/tva.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/compta/tva/tva.class.php");
|
||||||
|
|
||||||
|
|||||||
@ -28,7 +28,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
require("./pre.inc.php");
|
require("./pre.inc.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/report.inc.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/report.lib.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/tax.lib.php");
|
require_once(DOL_DOCUMENT_ROOT."/lib/tax.lib.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/compta/tva/tva.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/compta/tva/tva.class.php");
|
||||||
require_once(DOL_DOCUMENT_ROOT."/facture.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/facture.class.php");
|
||||||
|
|||||||
@ -17,10 +17,10 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/lib/menubase.class.php
|
\file htdocs/core/menubase.class.php
|
||||||
\ingroup core
|
\ingroup core
|
||||||
\version $Id$
|
\version $Id$
|
||||||
\brief File of class to manage menu entries
|
\brief File of class to manage dynamic menu entries
|
||||||
\remarks Initialy built by build_class_from_table on 2008-01-12 14:19
|
\remarks Initialy built by build_class_from_table on 2008-01-12 14:19
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -53,7 +53,7 @@ class MenuLeft {
|
|||||||
*/
|
*/
|
||||||
function MenuLeft($db,&$menu_array)
|
function MenuLeft($db,&$menu_array)
|
||||||
{
|
{
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/menubase.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/core/menubase.class.php");
|
||||||
|
|
||||||
$this->db=$db;
|
$this->db=$db;
|
||||||
$this->menu_array=$menu_array;
|
$this->menu_array=$menu_array;
|
||||||
|
|||||||
@ -52,7 +52,7 @@ class MenuLeft {
|
|||||||
*/
|
*/
|
||||||
function MenuLeft($db,&$menu_array)
|
function MenuLeft($db,&$menu_array)
|
||||||
{
|
{
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/menubase.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/core/menubase.class.php");
|
||||||
|
|
||||||
$this->db=$db;
|
$this->db=$db;
|
||||||
$this->menu_array=$menu_array;
|
$this->menu_array=$menu_array;
|
||||||
|
|||||||
@ -59,7 +59,7 @@ class MenuTop {
|
|||||||
*/
|
*/
|
||||||
function showmenu()
|
function showmenu()
|
||||||
{
|
{
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/menubase.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/core/menubase.class.php");
|
||||||
|
|
||||||
global $user,$conf,$langs,$dolibarr_main_db_name;;
|
global $user,$conf,$langs,$dolibarr_main_db_name;;
|
||||||
|
|
||||||
|
|||||||
@ -59,7 +59,7 @@ class MenuTop {
|
|||||||
*/
|
*/
|
||||||
function showmenu()
|
function showmenu()
|
||||||
{
|
{
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/menubase.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/core/menubase.class.php");
|
||||||
|
|
||||||
global $user,$conf,$langs,$dolibarr_main_db_name;;
|
global $user,$conf,$langs,$dolibarr_main_db_name;;
|
||||||
|
|
||||||
|
|||||||
@ -343,7 +343,7 @@ class MenuTop {
|
|||||||
|
|
||||||
|
|
||||||
// Affichage des menus personnalises
|
// Affichage des menus personnalises
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/menubase.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/core/menubase.class.php");
|
||||||
|
|
||||||
$menuArbo = new Menubase($this->db,'eldy','top');
|
$menuArbo = new Menubase($this->db,'eldy','top');
|
||||||
$tabMenu = $menuArbo->menutopCharger(0,$_SESSION['mainmenu'],'eldy');
|
$tabMenu = $menuArbo->menutopCharger(0,$_SESSION['mainmenu'],'eldy');
|
||||||
|
|||||||
@ -308,7 +308,7 @@ class MenuTop {
|
|||||||
|
|
||||||
|
|
||||||
// Affichage des menus personnalises
|
// Affichage des menus personnalises
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/menubase.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/core/menubase.class.php");
|
||||||
|
|
||||||
$menuArbo = new Menubase($this->db,'eldy','top');
|
$menuArbo = new Menubase($this->db,'eldy','top');
|
||||||
$tabMenu = $menuArbo->menutopCharger(1,$_SESSION['mainmenu'],'eldy');
|
$tabMenu = $menuArbo->menutopCharger(1,$_SESSION['mainmenu'],'eldy');
|
||||||
|
|||||||
@ -68,7 +68,7 @@ class MenuTop {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
// Code to show personalized menus
|
// Code to show personalized menus
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/menubase.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/core/menubase.class.php");
|
||||||
|
|
||||||
$menuArbo = new Menubase($this->db,'eldy','top');
|
$menuArbo = new Menubase($this->db,'eldy','top');
|
||||||
$tabMenu = $menuArbo->menutopCharger(2,$_SESSION['mainmenu'],'');
|
$tabMenu = $menuArbo->menutopCharger(2,$_SESSION['mainmenu'],'');
|
||||||
|
|||||||
@ -307,7 +307,7 @@ class MenuTop {
|
|||||||
|
|
||||||
|
|
||||||
// Affichage des menus personnalises
|
// Affichage des menus personnalises
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/menubase.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/core/menubase.class.php");
|
||||||
|
|
||||||
$menuArbo = new Menubase($this->db,'rodolphe','top');
|
$menuArbo = new Menubase($this->db,'rodolphe','top');
|
||||||
$tabMenu = $menuArbo->menutopCharger(2,$_SESSION['mainmenu'],'rodolphe');
|
$tabMenu = $menuArbo->menutopCharger(2,$_SESSION['mainmenu'],'rodolphe');
|
||||||
|
|||||||
@ -728,7 +728,7 @@ class DolibarrModules
|
|||||||
{
|
{
|
||||||
global $user;
|
global $user;
|
||||||
|
|
||||||
require_once(DOL_DOCUMENT_ROOT."/lib/menubase.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/core/menubase.class.php");
|
||||||
|
|
||||||
$err=0;
|
$err=0;
|
||||||
|
|
||||||
|
|||||||
@ -33,7 +33,7 @@ require_once($dolibarr_main_document_root . '/contrat/contrat.class.php');
|
|||||||
require_once($dolibarr_main_document_root . '/commande/commande.class.php');
|
require_once($dolibarr_main_document_root . '/commande/commande.class.php');
|
||||||
require_once($dolibarr_main_document_root . '/fourn/fournisseur.commande.class.php');
|
require_once($dolibarr_main_document_root . '/fourn/fournisseur.commande.class.php');
|
||||||
require_once($dolibarr_main_document_root . '/lib/price.lib.php');
|
require_once($dolibarr_main_document_root . '/lib/price.lib.php');
|
||||||
require_once($dolibarr_main_document_root . '/lib/menubase.class.php');
|
require_once($dolibarr_main_document_root . '/core/menubase.class.php');
|
||||||
|
|
||||||
$grant_query='';
|
$grant_query='';
|
||||||
$etape = 2;
|
$etape = 2;
|
||||||
|
|||||||
@ -15,13 +15,12 @@
|
|||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
* or see http://www.gnu.org/
|
* or see http://www.gnu.org/
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/lib/report.inc.php
|
\file htdocs/lib/report.lib.php
|
||||||
\brief Ensemble de fonctions de base de dolibarr pour reporting sous forme d'include
|
\brief Ensemble de fonctions de base de dolibarr pour reporting sous forme d'include
|
||||||
|
\version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user