Version 4.1.19

This commit is contained in:
Neo committed 2025-12-19 05:38:56 -08:00
1 parent 28bd025b35
commit 2bd5025018
2674 files changed
+233518 -77766

No files matched your search

@@ -2,9 +2,9 @@
/**
* @brief License Key Model - Standard
* @author <a href='http://www.invisionpower.com'>Invision Power Services, Inc.</a>
* @copyright (c) 2001 - SVN_YYYY Invision Power Services, Inc.
* @copyright (c) 2001 - 2016 Invision Power Services, Inc.
* @license http://www.invisionpower.com/legal/standards/
* @package IPS Social Suite
* @package IPS Community Suite
* @subpackage Nexus
* @since 30 Apr 2014
* @version SVN_VERSION_NUMBER
@@ -62,21 +62,21 @@ class _Standard extends \IPS\nexus\Purchase\LicenseKey
public function generate()
{
$key = array();
foreach ( range( 1, self::$blocks ) as $i )
foreach ( range( 1, static::$blocks ) as $i )
{
$_k = '';
foreach ( range( 1, self::$characters ) as $j )
foreach ( range( 1, static::$characters ) as $j )
{
do
{
$chr = rand( self::$low, self::$high );
$chr = rand( static::$low, static::$high );
}
while ( in_array( $chr, self::$disallowed ) );
while ( in_array( $chr, static::$disallowed ) );
$_k .= chr( $chr );
}
$key[] = $_k;
}
return implode( self::$seperator, $key );
return implode( static::$seperator, $key );
}
}