This file contains hidden or 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
| /**************************** | |
| * | |
| * Util function for a recursive filesearch using glob function | |
| * | |
| ****************************/ | |
| if ( ! function_exists('glob_recursive')) { | |
| // Does not support flag GLOB_BRACE | |
| function glob_recursive($pattern, $flags = 0) { |
This file contains hidden or 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 | |
| /** | |
| * Lock manager to ensure our cron doesn't run twice at the same time. | |
| * | |
| * Inspired by the lock mechanism in Mage_Index_Model_Process | |
| * | |
| * Usage: | |
| * | |
| * $lock = Mage::getModel('stcore/cron_lock'); |
This file contains hidden or 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
| #for Fooman Speedster 2 nginx rewrite rule | |
| location /skin/m/ { | |
| rewrite ^/skin/m/([^/]+)(/.*.(js|css))$ /lib/minify/m.php?f=$2&d=$1; | |
| } |
NewerOlder