Location: PHPKode > scripts > cache_TS > clean_up_cache.php
<?php

/* the catalogue cache has to have chmod 666 or 777 */

/*========================*\

 * cache_TS
 * Written by: AS
 * Mialto: hide@address.com
 * Date: 2007-08-23
 * Cache: multiSystem cache SQL and PHP code
 * Version: 1 
 * Licencia: Lesser General Public License (LGPL)   
 * 
 * Copyright (C) 2007 Jacek Wloka
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.  

\*========================*/


/* emptying folder cache */

include ('cache_ts.php');

$cache = &new cache_TS();
$cache->emptying_cache ("./cache");

echo 'OK';

?>
Return current item: cache_TS