Improved the lockdown WHMCS license integration

This commit is contained in:
2016-11-22 19:08:17 +02:00
parent 319944db68
commit 082196378b
42 changed files with 2184 additions and 2111 deletions

View File

@ -2421,7 +2421,7 @@ class Get
* @return string The unique localkey
*
*/
public function uniquekey($size, $random = false)
public function uniquekey($size, $random = false, $newBag = "vvvvvvvvvvvvvvvvvvv")
{
if ($random)
{
@ -2429,7 +2429,7 @@ class Get
}
else
{
$bag = "vvvvvvvvvvvvvvvvvvv";
$bag = $newBag;
}
$key = array();
$bagsize = strlen($bag) - 1;