Changeset 7002

Show
Ignore:
Timestamp:
10/18/08 13:18:15 (5 years ago)
Author:
p_lindheimer
Message:

ref #3271 detect ABE Business Edition, tested against 1.4 non-business and nothing is broken, need confirmation from testing on BE that it does as adverstised, install_amp change still needs testing before checkin ing

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.5/amp_conf/htdocs/admin/functions.inc.php

    r6957 r7002  
    13821382      } elseif (preg_match('/Asterisk SVN-.+-(\d+(\.\d+)*)-r(-?(\S*))-(.+)/', $verinfo, $matches)) { 
    13831383        return array('engine'=>'asterisk', 'version' => $matches[1], 'additional' => $matches[3], 'raw' => $verinfo); 
     1384      } elseif (preg_match('/Asterisk [B].(\d+(\.\d+)*)(-?(\S*))/', $verinfo, $matches)) { 
     1385        return array('engine'=>'asterisk', 'version' => '1.2', 'additional' => $matches[3], 'raw' => $verinfo); 
     1386      } elseif (preg_match('/Asterisk [C].(\d+(\.\d+)*)(-?(\S*))/', $verinfo, $matches)) { 
     1387        return array('engine'=>'asterisk', 'version' => '1.4', 'additional' => $matches[3], 'raw' => $verinfo); 
    13841388      } 
    13851389