1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-22 13:41:52 +02:00

Merge pull request from Deltik/fix-3135

Downloads plugin compatibility with PHP 5.4, 5.5
This commit is contained in:
Cameron 2018-05-24 10:46:02 -07:00 committed by GitHub
commit 429413093e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,14 +6,14 @@ class NginxSecureLinkMd5Decorator implements SecureLinkDecorator
protected $url = null;
protected $prefs = array();
const SUPPORTED_VARIABLES = array(
public static $SUPPORTED_VARIABLES = array(
'$secure_link_expires',
'$uri',
'$remote_addr'
);
static function supported_variables() {
return self::SUPPORTED_VARIABLES;
return self::$SUPPORTED_VARIABLES;
}
function __construct($url, $preferences)