Changeset 3940

Show
Ignore:
Timestamp:
04/26/07 03:17:42 (6 years ago)
Author:
diego_iastrubni
Message:

fix for ticket:1910, file is created in the same dir, and then renamed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.3/phpagiconf/functions.inc.php

    r2761 r3940  
    44  global $active_modules; 
    55 
    6   $file = "/tmp/phpagi_".rand().".conf"; 
     6  // create the tmp file in the same dir 
     7  // fixes ticket:1910 
     8  $file = "/etc/asterisk/phpagi_".rand().".conf"; 
     9 
    710  $data = phpagiconf_get(); 
    811  $content = "[phpagi]\n"; 
  • modules/branches/2.3/phpagiconf/module.xml

    r2952 r3940  
    22  <rawname>phpagiconf</rawname> 
    33  <name>PHPAGI Config</name> 
    4   <version>1.1</version> 
     4  <version>1.2</version> 
    55  <type>tool</type> 
    66  <category>Config</category> 
     
    1111    <module>manager ge1.0.4</module> 
    1212  </depends>  
    13   <changelog>*1.1* Removed old dependancy checking code, first 2.2 release</changelog> 
     13  <changelog> 
     14    *1.2* Create tmp files in /etc/asterisk, fixes ticket:1910 
     15    *1.1* Removed old dependancy checking code, first 2.2 release 
     16  </changelog> 
    1417  <location>release/2.2/phpagiconf-1.1.tgz</location> 
    1518  <md5sum>1dd626321578d58698ed033e7e3a688f</md5sum>