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 | |
| function anonymize_ip($ip) { | |
| if($ip = @inet_pton($ip)) { | |
| return inet_ntop(substr($ip, 0, strlen($ip)/2) . str_repeat( chr(0), strlen($ip)/2 )); | |
| } | |
| return '0.0.0.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 namespace Codesleeve\AssetPipeline\Filters; | |
| use DateTime; | |
| use Session; | |
| use Assetic\Cache\CacheInterface; | |
| class ClientCacheFilter implements CacheInterface | |
| { | |
| /** | |
| * This is a decorator class which uses an underlying CacheInterface |
NewerOlder