From: vincent@cubedesigners.com Date: Thu, 12 Nov 2009 15:14:04 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=de525154c1de185eb954787b013fdc095fa726dd;p=cubeextranet.git --- diff --git a/inc/config.inc.php b/inc/config.inc.php index 842431562..beb71061e 100644 --- a/inc/config.inc.php +++ b/inc/config.inc.php @@ -4,7 +4,7 @@ define('ROOT', dirname(__FILE__) . '/..'); $localrel = array('localhost', 'paris.fluidbook.com'); $localabs = array('dev.ws.fluidbook.com', 'dev.extranet.fluidbook.com'); $ws = array('ws.fluidbook.com', 'dev.ws.fluidbook.com'); -$extranet = array('extranet.cubedesigners.com', 'dev.extranet.fluidbook.com', 'paris.fluidbook.com', 'localhost'); +$extranet = array('extranet.cubedesigners.com', 'dev.extranet.fluidbook.com', 'paris.fluidbook.com', 'localhost','xtn.fluidbook.com'); if (in_array($_SERVER['HTTP_HOST'], array_merge($localrel, $localabs))) { // Définition de la configuration sur l'environnement de développement define('DB_HOST', 'localhost'); @@ -31,7 +31,7 @@ if (in_array($_SERVER['HTTP_HOST'], array_merge($localrel, $localabs))) { define('WEBROOT', ''); define('SITE_PATH', WEBROOT . '/'); - define('FTPROOT', '/usb/ftpextranet/'); + define('FTPROOT', '/home/extranet/ftp/'); define('DEV', false); define('WINDOWS',false); } @@ -43,7 +43,7 @@ if (in_array($_SERVER['HTTP_HOST'], $ws)) { } else { define('MODE', 'extranet'); define('GA', 'UA-4339912-4'); - define('TITLE', 'Extranet - Cubedesigners'); + define('TITLE', 'Extranet Cubedesigners'); } define('SESSION_LIFETIME', 3600 * 10); diff --git a/inc/extranet/Controlleur/class.extranet.core.php b/inc/extranet/Controlleur/class.extranet.core.php index 433def2cf..f74949e96 100644 --- a/inc/extranet/Controlleur/class.extranet.core.php +++ b/inc/extranet/Controlleur/class.extranet.core.php @@ -430,7 +430,7 @@ class extranetCore extends cubeCore { . 'FROM utilisateurs WHERE grade=0 ' . 'UNION ' . 'SELECT email AS userid,ws_password AS passwd,utilisateur_id AS uid,' - . '\'1000\' AS gid,CONCAT(\'/usb/ftpextranet/\',utilisateur_id) AS homedir, \'/bin/false\' AS shell ' + . '\'1000\' AS gid,CONCAT(\''.FTPROOT.'\',utilisateur_id) AS homedir, \'/bin/false\' AS shell ' . 'FROM utilisateurs WHERE grade=0 AND ws_password!=\'\''); $this->createView('chiffres_categories', 'SELECT p.annee_fin AS annee, t.categorie, SUM(t.budget) AS ca ' . 'FROM projets_vue p, taches_vue t ' diff --git a/inc/extranet/DAO/class.extranet.dao.fichier.php b/inc/extranet/DAO/class.extranet.dao.fichier.php index 219747d81..3913d0382 100644 --- a/inc/extranet/DAO/class.extranet.dao.fichier.php +++ b/inc/extranet/DAO/class.extranet.dao.fichier.php @@ -4,7 +4,7 @@ class extranetDAOFichier extends extranetDAO { public function singleton($infos) { $path = path::real($infos['path']); - $rel_path = str_replace('/usb/ftpextranet', '', $path); + $rel_path = str_replace(FTPROOT, '', $path); $fichier = new extranetFichier(); $fichier->contact = $infos['contact']; $fichier->destinataire=$infos['destinataire']; diff --git a/typo/extranet/desc.xml b/typo/extranet/desc.xml index ea114779e..758ed4334 100644 --- a/typo/extranet/desc.xml +++ b/typo/extranet/desc.xml @@ -20,7 +20,7 @@ Univers-CondensedBold.ttf 9.5 ffffff - 8 + 5 auto 0 $texte @@ -31,7 +31,7 @@ Univers-CondensedBold.ttf 9.5 5f6162 - 41 + 38 auto 0 $texte @@ -72,7 +72,7 @@ Univers-CondensedBold.ttf 11 7a560a - 5 + 2 33 13 1 @@ -114,7 +114,7 @@ Univers-CondensedBold.ttf 11 7a560a - 5 + 2 33 13 1 @@ -156,7 +156,7 @@ Univers-CondensedBold.ttf 11 7a560a - 5 + 2 12 36 1 @@ -198,7 +198,7 @@ Univers-CondensedBold.ttf 10 7a560a - 5 + 2 14 34 1 @@ -240,7 +240,7 @@ Univers-CondensedBold.ttf 10 7a560a - 5 + 2 34 14 1 @@ -282,7 +282,7 @@ Univers-CondensedBold.ttf 11 5f6162 - 13 + 9 40 75 1 @@ -325,7 +325,7 @@ Univers-CondensedBold.ttf 11 5f6162 - 13 + 9 20 20 1 @@ -343,10 +343,10 @@ Univers-CondensedBold.ttf 13 ffffff - 0 + -5 0 2 - 0 + 5 $texte 1