function versioncore() {
$myversioncore = 'unknown_version_core';
if (( ( VERSION == '1.0.1' || VERSION == '1.5.1' ) || VERSION == '1.5.1.3' )) {
$myversioncore = 'old_version_core';
}
if (( ( ( ( ( ( VERSION == '1.5.2' || VERSION == '1.5.2.1' ) || VERSION == '1.5.3' ) || VERSION == '1.5.3.1' ) || VERSION == '1.5.4' ) || VERSION == '1.5.4.1' ) || VERSION == '1.5.5.1' )) {
$myversioncore = 'new_version_core';
}
return $myversioncore;
}
function IsWorkOnCurrentVersionCore() {
$array_version_core_list = array( '1.0.1', '1.5.1', '1.5.1.3', '1.5.2', '1.5.2.1', '1.5.3', '1.5.3.1', '1.5.4', '1.5.4.1', '1.5.5.1' );
return in_array( VERSION, $array_version_core_list );
}
function IsWorkOnCurrentVersionPHP() {
if (( 50300 <= PHP_VERSION_ID && PHP_VERSION_ID < 50400 )) {
return true;
}
return false;
}