PHP Classes

File: clean_up_cache.php

Recommend this page to a friend!
  Classes of Jacek Wloka  >  cache_TS  >  clean_up_cache.php  >  Download  
File: clean_up_cache.php
Role: Example script
Content type: text/plain
Description: clean up cache
Class: cache_TS
Cache the output of PHP script in files
Author: By
Last change:
Date: 9 years ago
Size: 785 bytes


Class file image Download

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


 * cache_TS
 * Written by: AS
 * Mialto:
 * 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");