31 lines
731 B
PHP
31 lines
731 B
PHP
<?php
|
|
/*
|
|
* Initialisation des chemins d'acces aux librairies
|
|
* de fonctions
|
|
*/
|
|
|
|
$inc_dir=dirname(__FILE__)."/includes";
|
|
$conf_dir=dirname(__FILE__)."/config";
|
|
$data_dir=dirname(__FILE__)."/data";
|
|
|
|
$include_path=ini_get('include_path');
|
|
$include_path.=":$inc_dir:$conf_dir:$data_dir";
|
|
ini_set('include_path', $include_path);
|
|
|
|
/*
|
|
* Bibliothèques à utiliser.
|
|
*/
|
|
|
|
require("db.conf.php");
|
|
require("libpage.inc.php");
|
|
require("libsecuremenu.inc.php");
|
|
require("libLDachat.inc.php");
|
|
require("libuserinfo.inc.php");
|
|
require("libfournisseurs.inc.php");
|
|
require("liblistefournisseurs.inc.php");
|
|
require("liblisteDA.inc.php");
|
|
require("libproduits.inc.php");
|
|
require("liblisteproduits.inc.php");
|
|
require("libcommandes.inc.php");
|
|
|
|
?>
|