Subversion Repositories SvarDOS

Rev

Rev 912 | Rev 919 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 912 Rev 914
Line 99... Line 99...
99
    $verstr = trim(substr($verstr, 0, $i));
99
    $verstr = trim(substr($verstr, 0, $i));
100
    if ($greek == 'alpha') {
100
    if ($greek == 'alpha') {
101
      $subver[2] = 1;
101
      $subver[2] = 1;
102
    } else if ($greek == 'beta') {
102
    } else if ($greek == 'beta') {
103
      $subver[2] = 2;
103
      $subver[2] = 2;
-
 
104
    } else if ($greek == 'rc') {
-
 
105
      $subver[2] = 3;
104
    } else {
106
    } else {
105
      return(false);
107
      return(false);
106
    }
108
    }
-
 
109
  } else {
-
 
110
    $subver[2] = 99;
107
  }
111
  }
108
 
112
 
109
  // does the version string have a single-letter subversion? (1.0c)
113
  // does the version string have a single-letter subversion? (1.0c)
110
  if (preg_match('/[a-z]$/', $verstr)) {
114
  if (preg_match('/[a-z]$/', $verstr)) {
111
    $subver[1] = ord(substr($verstr, -1));
115
    $subver[1] = ord(substr($verstr, -1));