123456789101112131415161718192021222324252627 |
- <?php
- /**
- * @file
- * Ensure Imagecache recognises our new actions, per http://drupal.org/node/290101.
- */
- /**
- * @todo Please document this function.
- * @see http://drupal.org/node/1354
- */
- function imagecache_autorotate_enable() {
- if (function_exists('imagecache_action_definitions') ) {
- imagecache_action_definitions(TRUE);
- }
- cache_clear_all('imagecache_actions', 'cache');
- }
- /**
- * @todo Please document this function.
- * @see http://drupal.org/node/1354
- */
- function imagecache_autorotate_disable() {
- if (function_exists('imagecache_action_definitions') ) {
- imagecache_action_definitions(TRUE);
- }
- cache_clear_all('imagecache_actions', 'cache');
- }
|