Scripts
[ class tree: Scripts ] [ index: Scripts ] [ all elements ]

Procedural File: clean.php

Source Location: /scripts/clean.php



Page Details:

clean.php - cleans old images, old map results and old SOAP XML cache files

Cleans:

  • Images not associated with map result
  • Images associated with map result / SOAP XML, including corresponding map result / SOAP XML
  • Empty map results /SOAP XML
Usage: ./clean.php <cache_image_max_age> [<simple_image_max_age>]




Tags:

author:  Yves Bolognini <yves.bolognini@camptocamp.com>


Includes:






CARTOCOMMON_HOME [line 22]

CARTOCOMMON_HOME = realpath(dirname(__FILE__).'/..').'/'
Common home dir


[ Top ]



CARTOSERVER_HOME [line 27]

CARTOSERVER_HOME = realpath(dirname(__FILE__).'/..').'/'
Server home dir


[ Top ]




loadMapResults [line 112]

array loadMapResults( string $resultCachedir)

Gets all links between images and MapResults



Parameters

string   $resultCachedir  
[ Top ]



loadSoapXMLs [line 155]

array loadSoapXMLs( string $soapCachedir)

Gets all links between images and SOAP XMLs



Parameters

string   $soapCachedir  
[ Top ]



usage [line 184]

void usage( )

Prints usage



[ Top ]



Documentation generated on Wed, 6 Apr 2005 12:06:29 +0200 by phpDocumentor 1.3.0RC3