Line 17... |
Line 17... |
17 |
// | |
|
17 |
// | |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
22 |
// CVS : $Id: pap_envoi.inc.php,v 1.2 2004-06-16 15:07:56 jpm Exp $
|
22 |
// CVS : $Id: pap_envoi.inc.php,v 1.3 2004-10-15 18:29:19 jpm Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Gestion de l'envoie des pages à afficher.
|
24 |
* Gestion de l'envoie des pages à afficher.
|
25 |
*
|
25 |
*
|
26 |
* Ce fichier envoi les données en les compressant si possible.
|
26 |
* Ce fichier envoi les données en les compressant si possible.
|
27 |
*
|
27 |
*
|
Line 29... |
Line 29... |
29 |
//Auteur original :
|
29 |
//Auteur original :
|
30 |
*@author Laurent COUDOUNEAU <lc@gsite.org>
|
30 |
*@author Laurent COUDOUNEAU <lc@gsite.org>
|
31 |
//Autres auteurs :
|
31 |
//Autres auteurs :
|
32 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
32 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
33 |
*@copyright Tela-Botanica 2000-2004
|
33 |
*@copyright Tela-Botanica 2000-2004
|
34 |
*@version $Revision: 1.2 $ $Date: 2004-06-16 15:07:56 $
|
34 |
*@version $Revision: 1.3 $ $Date: 2004-10-15 18:29:19 $
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
35 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
*/
|
36 |
*/
|
Line 37... |
Line 37... |
37 |
|
37 |
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
// +------------------------------------------------------------------------------------------------------+
|
Line 45... |
Line 45... |
45 |
// +------------------------------------------------------------------------------------------------------+
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
46 |
// | CORPS du PROGRAMME |
|
46 |
// | CORPS du PROGRAMME |
|
47 |
// +------------------------------------------------------------------------------------------------------+
|
47 |
// +------------------------------------------------------------------------------------------------------+
|
48 |
$page_gzippe = GEN_compresserDonneesZLIB($_GEN_commun['sortie']);
|
48 |
$page_gzippe = GEN_compresserDonneesZLIB($_GEN_commun['sortie']);
|
49 |
// Nous mettons à jour le cache
|
49 |
// Nous mettons à jour le cache
|
50 |
if ($_GEN_commun['info_application']->cache) {
|
50 |
if (!empty($_GEN_commun['info_application']) && $_GEN_commun['info_application']->cache) {
|
51 |
// Mise en cache de la page demandée
|
51 |
// Mise en cache de la page demandée
|
52 |
if ( ($page_gzippe != false) ) {
|
52 |
if ( ($page_gzippe != false) ) {
|
53 |
$contenu_en_cache = (empty($page_gzippe)) ? $_GEN_commun['sortie'] : $page_gzippe;
|
53 |
$contenu_en_cache = (empty($page_gzippe)) ? $_GEN_commun['sortie'] : $page_gzippe;
|
54 |
$requete = 'INSERT INTO gen_page_cache '.
|
54 |
$requete = 'INSERT INTO gen_page_cache '.
|
55 |
'SET gpc_id_md5_url = "'.GEN_donnerMD5UriPostSession().'", '.
|
55 |
'SET gpc_id_md5_url = "'.GEN_donnerMD5UriPostSession().'", '.
|
Line 77... |
Line 77... |
77 |
echo($_GEN_commun['sortie']);
|
77 |
echo($_GEN_commun['sortie']);
|
Line 78... |
Line 78... |
78 |
|
78 |
|
79 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
79 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
80 |
*
|
80 |
*
|
- |
|
81 |
* $Log: not supported by cvs2svn $
|
- |
|
82 |
* Revision 1.2 2004/06/16 15:07:56 jpm
|
- |
|
83 |
* Correction d'un chemin et nom de fichier.
|
81 |
* $Log: not supported by cvs2svn $
|
84 |
*
|
82 |
* Revision 1.1 2004/06/16 08:11:37 jpm
|
85 |
* Revision 1.1 2004/06/16 08:11:37 jpm
|
83 |
* Changement de nom de Génésia en Papyrus.
|
86 |
* Changement de nom de Génésia en Papyrus.
|
84 |
* Changement de l'arborescence.
|
87 |
* Changement de l'arborescence.
|
85 |
*
|
88 |
*
|