Changeset 4536

Show
Ignore:
Timestamp:
07/26/07 13:29:27 (1 year ago)
Author:
p_lindheimer
Message:

#2154: change references to moved bounce_op.sh to AMPBIN

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.3/amp_conf/bin/freepbx_engine

    r4460 r4536  
    6262        fi 
    6363 
    64         chmod u+x,g+x $AMPWEBROOT/admin/bounce_op.sh 
     64        chmod u+x,g+x $AMPBIN/bounce_op.sh 
    6565        chmod u+x,g+x $FOPWEBROOT/*.pl 
    6666        chmod u+x $FOPWEBROOT/safe_opserver 
  • freepbx/branches/2.3/amp_conf/htdocs/admin/footer.php

    r4170 r4536  
    7474                 
    7575                //bounce op_server.pl 
    76                 // TODO, should this file be on the web root? whats wrong with /var/lib/asterisk/bin? 
    77                 $wOpBounce = rtrim($_SERVER['SCRIPT_FILENAME'],$currentFile).'bounce_op.sh'; 
     76                $wOpBounce = $amp_conf['AMPBIN'].'/bounce_op.sh'; 
    7877                exec($wOpBounce.'&>'.$asterisk_conf['astlogdir'].'/freepbx-bounce_op.log'); 
    7978                 
  • freepbx/branches/2.3/install_amp

    r4478 r4536  
    10461046// **** Bounce FOP 
    10471047outn("Restarting Flash Operator Panel.."); 
    1048 exec('su - asterisk -c "'.$amp_conf["AMPWEBROOT"].'/admin/bounce_op.sh"'); 
     1048exec('su - asterisk -c "'.$amp_conf["AMPBIN"].'/bounce_op.sh"'); 
    10491049out("OK"); 
    10501050