set minversion and maxversion for themes in view/theme/themename/php/theme.php instead of separate file.