Changeset 3467

Show
Ignore:
Timestamp:
01/02/07 06:18:07 (6 years ago)
Author:
qldrob
Message:

Merged revisions 3465 via svnmerge from
https://amportal.svn.sourceforge.net/svnroot/amportal/modules/branches/2.2

........

r3465 | qldrob | 2007-01-02 21:13:40 +1000 (Tue, 02 Jan 2007) | 2 lines


Fix astdb backup issues, add redirect_standard to avoid issues reported in #1454.

........

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.3

    • Property svnmerge-integrated changed from /modules/branches/2.2:1-3329,3355-3356,3359-3360,3385-3386,3440 to /modules/branches/2.2:1-3329,3355-3356,3359-3360,3385-3386,3440,3465
  • modules/branches/2.3/backup/bin/dumpastdb.php

    r2961 r3467  
    44 
    55global $argv; 
    6 require_once("php-asmanager.php"); 
    76 
    87function getconf($filename) { 
     
    1615} 
    1716 
    18 $amp_conf = getconf(AMP_CONF); 
     17$amp_conf = getconf("/etc/amportal.conf"); 
    1918 
     19require_once($amp_conf['AMPWEBROOT']."/admin/common/php-asmanager.php"); 
    2020$astman         = new AGI_AsteriskManager(); 
    2121if (! $res = $astman->connect("127.0.0.1", $amp_conf["AMPMGRUSER"] , $amp_conf["AMPMGRPASS"])) { 
  • modules/branches/2.3/backup/bin/restoreastdb.php

    r3396 r3467  
    44 
    55global $argv; 
    6 require_once("php-asmanager.php"); 
    76 
    87function getconf($filename) { 
     
    1615} 
    1716 
    18 $amp_conf = getconf(AMP_CONF); 
     17$amp_conf = getconf("/etc/amportal.conf"); 
     18 
     19require_once($amp_conf['AMPWEBROOT']."/admin/common/php-asmanager.php"); 
    1920 
    2021$astman         = new AGI_AsteriskManager(); 
  • modules/branches/2.3/backup/module.xml

    r3397 r3467  
    22  <rawname>backup</rawname> 
    33  <name>Backup &amp; Restore</name> 
    4   <version>2.0.3</version> 
     4  <version>2.1</version> 
    55  <type>tool</type> 
    66  <category>System Administration</category> 
     
    1212  </depends> 
    1313  <changelog> 
     14  *2.1* Actually, really, restore ASTDB now. Finally. Also add redirect_standard to avoid problems with TRBoE. 
     15  *2.0.4* Add he_IL translation 
    1416  *2.0.3* don't have BLKVM and FM astdb trees, which shouldn't be left around anyhow 
    1517  *2.0.2* fixed restore ALL to get it to actually work 
  • modules/branches/2.3/backup/page.backup.php

    r2973 r3467  
    9898    core_devices2astdb(); 
    9999    needreload(); 
     100    redirect_standard(); 
    100101  break; 
    101102}