Changeset 1422
- Timestamp:
- 04/09/06 08:27:07 (7 years ago)
- Files:
-
- freepbx/trunk/install_amp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/install_amp
r1390 r1422 72 72 } 73 73 74 function parse_amportal_conf($filename) {74 function install_parse_amportal_conf($filename) { 75 75 $file = file($filename); 76 76 foreach ($file as $line) { … … 93 93 94 94 //get the version number 95 function getversion() {95 function install_getversion() { 96 96 global $db; 97 97 $sql = "SELECT value FROM admin WHERE variable = 'version'"; … … 388 388 /** Set reload flag for AMP admin 389 389 */ 390 function needreload() {390 function install_needreload() { 391 391 global $db; 392 392 $sql = "UPDATE admin SET value = 'true' WHERE variable = 'need_reload'"; … … 655 655 656 656 outn("Reading ".AMP_CONF.".."); 657 $amp_conf = parse_amportal_conf(AMP_CONF);657 $amp_conf = install_parse_amportal_conf(AMP_CONF); 658 658 if (count($amp_conf) == 0) { 659 659 fatal("FAILED"); … … 770 770 if (!isset($version)) { 771 771 outn("Checking current version of AMP.."); 772 $version = getversion();772 $version = install_getversion(); 773 773 if (!$version) { 774 774 out("no version information"); … … 863 863 864 864 // **** Set reload flag for AMP admin 865 needreload();865 install_needreload(); 866 866 867 867 if ($amp_conf["AMPWEBADDRESS"])
