[TEP-COMMIT] [CVS admin] fix the clearing of cached files
anonymous-OfajU3CKLf1/[email protected] 9 Apr 2004 02:06:47 -0000
| Newsgroups | gmane.comp.web.oscommerce.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit in admin/admin on MAIN
cache.php +2 1.24 -> 1.25
includes/application_top.php +1 -1 1.165 -> 1.166
+3 -1
2 modified files
fix the clearing of cached files
----------
admin /admin
cache.php 1.24 -> 1.25
diff -u -r1.24 -r1.25
--- cache.php 2004/04/09 01:55:02 1.24
+++ cache.php 2004/04/09 02:06:45 1.25
@@ -17,6 +17,8 @@
if (tep_not_null($action)) {
if ($action == 'reset') {
tep_reset_cache_block($HTTP_GET_VARS['block']);
+
+ osC_Cache::clear($HTTP_GET_VARS['block']);
}
tep_redirect(tep_href_link(FILENAME_CACHE));
----------
admin /admin /includes
application_top.php 1.165 -> 1.166
diff -u -r1.165 -r1.166
--- application_top.php 2004/04/09 01:54:20 1.165
+++ application_top.php 2004/04/09 02:06:46 1.166
@@ -190,7 +190,7 @@
// the following cache blocks are used in the Tools->Cache section
// ('language' in the filename is automatically replaced by available languages)
- $cache_blocks = array(array('title' => TEXT_CACHE_CATEGORIES, 'code' => 'categories', 'file' => 'category_tree-language.cache', 'multiple' => false),
+ $cache_blocks = array(array('title' => TEXT_CACHE_CATEGORIES, 'code' => 'category_tree', 'file' => 'category_tree-language.cache', 'multiple' => false),
array('title' => TEXT_CACHE_MANUFACTURERS, 'code' => 'manufacturers', 'file' => 'manufacturers_box-language.cache', 'multiple' => true),
array('title' => TEXT_CACHE_ALSO_PURCHASED, 'code' => 'also_purchased', 'file' => 'also_purchased-language.cache', 'multiple' => true)
);
CVSspam 0.2.8
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click