| @@ -80,9 +80,9 @@ | ||
| 80 | 80 | |
| 81 | 81 | if( true === empty( $license ) ) { |
| 82 | 82 | return NULL; |
| 83 | 83 | } |
| 84 | - //Todo: Set type to 'sh-cd-pro' | |
| 84 | + | |
| 85 | 85 | // Validate hash! |
| 86 | 86 | $verify_hash = md5( 'yeken.uk' . $license['type'] . $license['expiry-days'] . $license['site-hash'] . $license['expiry-date'] ); |
| 87 | 87 | |
| 88 | 88 | return ( $license['hash'] == $verify_hash && false === empty( $license ) ) ? $license : NULL; |