Changeset 3678

Show
Ignore:
Timestamp:
01/31/07 00:18:14 (2 years ago)
Author:
diego_iastrubni
Message:

fix for ticket:1731

now module_admin works even for "broken" modules, running from every directory

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.2/amp_conf/bin/module_admin

    r2820 r3678  
    462462} 
    463463 
     464// freepbx modules will include the unsintall scripts 
     465// using relative paths. why not modifiying the include dir...? 
     466// fix for ticket:1731 
     467chdir ( $amp_conf\["AMPWEBROOT"\] . "/admin/" ); 
     468 
    464469switch ($operation ) { 
    465470        case 'list': 
  • freepbx/trunk/amp_conf/bin/module_admin

    r3570 r3678  
    468468} 
    469469 
     470// freepbx modules will include the unsintall scripts 
     471// using relative paths. why not modifiying the include dir...? 
     472// fix for ticket:1731 
     473chdir ( $amp_conf\["AMPWEBROOT"\] . "/admin/" ); 
     474 
    470475switch ($operation ) { 
    471476        case 'list': 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads