Skip to content

v1.2.0 - User Agent Customization

Latest
Compare
Choose a tag to compare
@paulprins paulprins released this 20 Mar 17:16
9cb6f42

This release is very simple. It exposes the UserAgent get/set functions to you.

$ExpiringMedia = new FreshVine\ExpiringMediaCache\ExpiringMediaCache( '/var/www/html/media/', 'http://localhost:8080/media/' );
$ExpiringMedia->setUserAgent('This is a user agent, though very much not correct');
$ExpiringMedia->getUserAgent();

Enjoy!