[ka-Map-users] Javascript compressor...

Delfos, Jacob Jacob.Delfos at maunsell.com
Tue Jun 13 20:00:04 EDT 2006


The getcjs.php script takes in filepaths, but always stores the
compressed scripts in the kamap temp directory:

$szScriptCacheDir = $GLOBALS['szBaseCacheDir']."/scripts"; (line 75)

So the only difference would be having to change the filepaths to the js
scripts in the template (these would have to be filepaths, not URL's).
So the call to getcjs.php in the template would be something like:





> -----Original Message-----
> From: ka-map-users-bounces at lists.maptools.org 
> [mailto:ka-map-users-bounces at lists.maptools.org] On Behalf Of 
> Steve Lime
> Sent: 14 June 2006 05:32
> To: ka-map-users at lists.maptools.org
> Subject: [ka-Map-users] Javascript compressor...
> Hi all: Ok, let's say I want to author a ka-map app and store 
> it outside the ka-map htdocs area.
> The ka-map directory is at /ka-map so refering to javascript 
> files is easy, just prepend /ka-map/.
> How would that work with the php javascript compressor? 
> Steve
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users

More information about the ka-Map-users mailing list