Changeset 3039

Show
Ignore:
Timestamp:
11/09/06 13:47:43 (7 years ago)
Author:
gregmac
Message:

Only reload if we have $astman

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/amp_conf/htdocs/admin/footer.php

    r2884 r3039  
    5656  } 
    5757   
    58   //run retrieve script 
    59   $retrieve = $amp_conf['AMPBIN'].'/retrieve_conf'; 
    60   exec($retrieve.'&>'.$asterisk_conf['astlogdir'].'/freepbx-retrieve.log'); 
     58  if ($astman) { 
     59    //run retrieve script 
     60    $retrieve = $amp_conf['AMPBIN'].'/retrieve_conf'; 
     61    exec($retrieve.'&>'.$asterisk_conf['astlogdir'].'/freepbx-retrieve.log'); 
    6162   
    62   if ($astman) { 
    6363    /*  Would be cool to do the following from here  
    6464      (to avoid permission problems when running apache as nobody).