handling older versions in testing
This commit is contained in:
parent
02f3cc739f
commit
7598b28a4a
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ class Helper
|
||||||
*/
|
*/
|
||||||
public static function getPasteId()
|
public static function getPasteId()
|
||||||
{
|
{
|
||||||
return self::$pasteid;
|
return version_compare(PHP_VERSION, '5.5') > 0 ? self::$pasteid : hash('fnv164', self::$pasteV2['ct']);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue