/**
  * Get version
  *
  * @return string
  */
 public static function getFrameworkVersion()
 {
     $lm = new LeftAndMain();
     $version = $lm->CMSVersion();
     if ($version) {
         $parts = explode(', ', $version);
         foreach ($parts as $part) {
             $p = explode(': ', $part);
             if ($p[0] == 'Framework') {
                 return $p[1];
             }
         }
     }
     // As fallback, we can use deprecation but this can be changed by the user
     return Deprecation::dump_settings()['version'];
 }