Skip to content
Discussion options

You must be logged in to vote

This is exactly how it is already implented and you don't need to change anything to get to see those versions in your installation. This is automatically done by the View class, when it renders the template out:

PrivateBin/lib/View.php

Lines 76 to 78 in 9a29894

// if the file isn't versioned (ends in a digit), add our own version
$cacheBuster = (bool) preg_match('#[0-9]\.js$#', (string) $file) ?
'' : '?' . rawurlencode($this->_variables['VERSION']);

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@cloudscape-germany
Comment options

@elrido
Comment options

Answer selected by cloudscape-germany
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants