[Cartoweb-users] [bug ?] Print (exportHMTL)

Alexandre Saunier alexandre.saunier at camptocamp.com
Fri Jun 16 11:41:42 EDT 2006


Hello,
CW has several means to detect the current project: POST, GET, value in 
file current_project.txt, ENV parameter...

I you have several project in the same CartoWeb instance, I would 
recommend to use a customized "access" file instead of client.php:
<?php
$_ENV['CW3_PROJECT'] = 'foo';
require_once 'client.php';
?>
This way the project name is always available.

AS

Jacolin Yves wrote:
> Hi,
> I use 3-4 projects inside cartoweb. If I don't use the current_project and I 
> print my map, the map printed is the one in the current_project. In the url, 
> there is no 'project=myProject' so it use the default project.
> 
> Is it a bug or a bad configuration ?
> This problem seems not inside the exportPDF plugin.


More information about the Cartoweb-users mailing list