Changed enterprise plus to ultimate

This commit is contained in:
Simon Beginn 2020-01-25 00:15:33 +01:00
parent d66593e0d6
commit 5f30281b2b

View File

@ -22,12 +22,12 @@ if(isset($_GET['path'])) {
$stylesheet = ''; $stylesheet = '';
if(preg_match('/.*premium/', $body->license)) { if(preg_match('/.*premium/', $body->license)) {
$license = 'premium'; $license = 'premium';
} else if(preg_match('/.*enterprisenormal/', $body->license)) { } else if(preg_match('/.*enterprise/', $body->license)) {
$license = 'enterprise'; $license = 'enterprise';
$stylesheet .= file_get_contents('enterprise.css'); $stylesheet .= file_get_contents('enterprise.css');
//Now fix some too aggressive display strategies by appending their overrides... //Now fix some too aggressive display strategies by appending their overrides...
$stylesheet .= file_get_contents('enterprise_fix.css'); $stylesheet .= file_get_contents('enterprise_fix.css');
} else if(preg_match('/.*enterpriseplus/', $body->license)) { } else if(preg_match('/.*ultimate/', $body->license)) {
$license = 'enterprise_plus'; $license = 'enterprise_plus';
//Load the new css file and change all invisible blocks to visible (this will show a little bit too much, but whatever...) //Load the new css file and change all invisible blocks to visible (this will show a little bit too much, but whatever...)
$stylesheet .= file_get_contents('enterprise.css'); $stylesheet .= file_get_contents('enterprise.css');
@ -89,7 +89,7 @@ if(isset($_GET['path'])) {
$result->styles = new stdClass; $result->styles = new stdClass;
} }
if($state == null) { if($state == null) {
$result->error_msg = 'Unknown command. Use ["bad" | "canceled" | "active"] ["premium" | "enterprisenormal" | "enterpriseplus"].'; $result->error_msg = 'Unknown command. Use ["bad" | "canceled" | "active"] ["premium" | "enterprise" | "ultimate"].';
} }
} else if(preg_match('/checkout.*/', $_GET['path'])) { } else if(preg_match('/checkout.*/', $_GET['path'])) {
$result = array(); $result = array();