- Timestamp:
- Mar 30, 2011, 4:44:24 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/regenerateThumbnails/element_set_global_action.php
r9931 r9937 3 3 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 4 4 check_status(ACCESS_ADMINISTRATOR); 5 6 function regenerate_prefilter($content, $smarty) 7 { 8 return str_replace('{$thumbnail.TN_SRC}', '{$thumbnail.TN_SRC}?rand='.md5(uniqid(rand(), true)), $content); 9 } 5 10 6 11 global $template, $conf, $page, $pwg_loaded_plugins;
Note: See TracChangeset
for help on using the changeset viewer.