This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file Update script for image cache changes related to drupal 7.20 | |
* | |
* You will likely need to adjust the regexp and the $search and $replace | |
* variables in cleanup(). Note that image_style_path_token generates | |
* different tokens for different paths so you need to properly detect your | |
* site URLs and rewrite them in the most robust pattern for your site. | |
* | |
* The existing patterns work with patterns like the following; |