L'installation c'est le plus compliqué, après ça roule tout seul
Voici le fichier mainfile.php pour cette arborescence :
Citation :Citation :Tu places tes fichiers comme ceci :
• /xoops_libs au premier niveau
• /xoops_date au premier niveau
• tout le reste au 2e niveau, c'est à dire dans le dossier /www
Cela donnera :
Citation :Citation :Citation :2e niveau :
/www/mainfile.php (ainsi que tout le reste)
Pour le fichier mainfile, il devra alors commencer comme ceci:
if (!defined("XOOPS_MAINFILE_INCLUDED")) {
define("XOOPS_MAINFILE_INCLUDED", 1);
// XOOPS Physical Paths
// Physical path to the XOOPS documents (served) directory WITHOUT trailing slash
define('XOOPS_ROOT_PATH', '/xyz/www');
// For forward compatibility
// Physical path to the XOOPS library directory WITHOUT trailing slash
define('XOOPS_PATH', '/xyz/xoops_lib');
// Physical path to the XOOPS datafiles (writable) directory WITHOUT trailing slash
define('XOOPS_VAR_PATH', '/xyz/xoops_data');
// Alias of XOOPS_PATH, for compatibility, temporary solution
define("XOOPS_TRUST_PATH", XOOPS_PATH);
// URL Association for SSL and Protocol Compatibility
$http = 'http://';
if (!empty($_SERVER['HTTPS'])) {
$http = ($_SERVER['HTTPS']=='on') ? 'https://' : 'http://';
}
define('XOOPS_PROT', $http);
// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_URL', '');
define('XOOPS_URL', 'http://www.ton-nom-de-domaine.com');
(en changeant bien entendu
www.ton-nom-de-domaine.com)