[Pkg-voip-commits] r3727 - freepbx/modules-2.2/modules/freepbx-module-phpagiconf/debian/patches

elcuco-guest at alioth.debian.org elcuco-guest at alioth.debian.org
Sun Jul 8 14:31:00 UTC 2007


Author: elcuco-guest
Date: 2007-07-08 14:31:00 +0000 (Sun, 08 Jul 2007)
New Revision: 3727

Modified:
   freepbx/modules-2.2/modules/freepbx-module-phpagiconf/debian/patches/sqlite3-support.dpatch
Log:
... and lets revert it back, since it does not work. you need to modify all the rows in one hit, otherwise you will get sql erros (stupid sql tables)


Modified: freepbx/modules-2.2/modules/freepbx-module-phpagiconf/debian/patches/sqlite3-support.dpatch
===================================================================
--- freepbx/modules-2.2/modules/freepbx-module-phpagiconf/debian/patches/sqlite3-support.dpatch	2007-07-08 14:21:04 UTC (rev 3726)
+++ freepbx/modules-2.2/modules/freepbx-module-phpagiconf/debian/patches/sqlite3-support.dpatch	2007-07-08 14:31:00 UTC (rev 3727)
@@ -6,20 +6,20 @@
 @DPATCH@
 diff -urNad freepbx-module-phpagiconf~/functions.inc.php freepbx-module-phpagiconf/functions.inc.php
 --- freepbx-module-phpagiconf~/functions.inc.php	2007-04-02 11:21:33.000000000 +0300
-+++ freepbx-module-phpagiconf/functions.inc.php	2007-07-08 15:47:42.000000000 +0300
-@@ -52,7 +52,28 @@
++++ freepbx-module-phpagiconf/functions.inc.php	2007-07-08 17:30:05.000000000 +0300
+@@ -52,7 +52,29 @@
  	} else {
  		$asmanager = array ($amp_conf['AMPDBUSER'], $amp_conf['AMPDBPASS']);
  	}
 -	$results = sql("INSERT INTO phpagiconf SET `debug`=$p_debug, error_handler=$p_error_handler, err_email='$p_err_email', hostname='$p_hostname', tempdir='$p_tempdir', festival_text2wave='$p_festival_text2wave', asman_server='$p_asman_server', asman_port=$p_asman_port, asman_user='".$asmanager[0]."', asman_secret='".$asmanager[1]."', cepstral_swift='$p_cepstral_swift', cepstral_voice='$p_cepstral_voice', setuid=$p_setuid, basedir='$p_basedir'");
 +
-+/*
++
 +	$sql = "INSERT INTO phpagiconf 
 +		(debug   ,    error_handler,     err_email,       hostname,      tempdir,      festival_text2wave,      asman_server,    asman_port,          asman_user,        asman_secret,      cepstral_swift,      cepstral_voice, setuid, basedir)
 +	VALUES	($p_debug, $p_error_handler, '$p_err_email', '$p_hostname', '$p_tempdir', '$p_festival_text2wave', '$p_asman_server', $p_asman_port, '".$asmanager[0]."', '".$asmanager[1]."', '$p_cepstral_swift', '$p_cepstral_voice', $p_setuid, '$p_basedir')
 +	";
 +	$results = sql($sql);
-+*/	
++/*	
 +	$results = sql("INSERT INTO phpagiconf SET `debug`=$p_debug");
 +	$results = sql("INSERT INTO phpagiconf SET `error_handler`=$p_error_handler");
 +	$results = sql("INSERT INTO phpagiconf SET `err_email`='$p_err_email'");
@@ -34,12 +34,13 @@
 +	$results = sql("INSERT INTO phpagiconf SET `cepstral_voice`='$p_cepstral_voice'");
 +	$results = sql("INSERT INTO phpagiconf SET `setuid`=$p_setuid");
 +	$results = sql("INSERT INTO phpagiconf SET `basedir`='$p_basedir'");
++*/
  }
  
  ?>
 diff -urNad freepbx-module-phpagiconf~/install.php freepbx-module-phpagiconf/install.php
 --- freepbx-module-phpagiconf~/install.php	1970-01-01 02:00:00.000000000 +0200
-+++ freepbx-module-phpagiconf/install.php	2007-07-08 15:45:10.000000000 +0300
++++ freepbx-module-phpagiconf/install.php	2007-07-08 17:29:20.000000000 +0300
 @@ -0,0 +1,32 @@
 +<?php
 +




More information about the Pkg-voip-commits mailing list