$license_type = array();
$license_version = $this->get_config('cc_version', '1.0');
- if ( ($license_version < 2.0) && ($this->get_config('cc_v2', 'false') == 'true') ) {
- $this->set_config('cc_version', '2.0');
- $license_version = '2.0';
+ if ( ($license_version < 2.5) && ($this->get_config('cc_v2', 'false') == 'true') ) {
+ $this->set_config('cc_version', '2.5');
+ $license_version = '2.5';
}
- if (($license_version >= 2.0) || serendipity_db_bool($this->get_config('by', true))) {
+ if (($license_version >= 2.5) || serendipity_db_bool($this->get_config('by', true))) {
$license_type[] = 'by';
}