[-]
[+]
|
Changed |
freepbx.changes
|
|
[-]
[+]
|
Changed |
freepbx.spec
^
|
|
[-]
[+]
|
Added |
freepbx-2.10.0-webroot.patch
^
|
@@ -0,0 +1,66 @@
+--- amportal.conf.orig 2011-05-17 03:29:39.000000000 +0200
++++ amportal.conf 2012-04-01 16:55:21.707345457 +0200
+@@ -49,7 +49,7 @@
+ # $amp_conf['AMPDBNAME'] = 'asterisk';
+ # $amp_conf['AMPDBENGINE'] = 'mysql';
+ # $amp_conf['datasource'] = ''; //for sqlite3
+-# require_once('/var/www/html/admin/bootstrap.php');
++# require_once('/srv/www/htdocs/admin/bootstrap.php');
+ #-----------------------------------------------------------------
+ #
+ # Where the paths and credentials match up with your system. This file
+@@ -89,11 +89,11 @@
+ # AMPCGIBIN: Path to Apache's cgi-bin dir (leave off trailing slash)
+ # AMPWEBADDRESS: The IP address or host name used to access the AMP web admin
+ #
+-AMPWEBROOT=/var/www/html
+-AMPCGIBIN=/var/www/cgi-bin
++AMPWEBROOT=/srv/www/htdocs
++AMPCGIBIN=/srv/www/cgi-bin
+ # AMPWEBADDRESS=x.x.x.x|hostname
+
+-FOPWEBROOT=/var/www/html/panel
++FOPWEBROOT=/srv/www/htdocs/panel
+ FOPPASSWORD=passw0rd
+
+ # This is the default admin name used to allow an administrator to login to ARI bypassing all security.
+--- install_amp.orig 2012-04-01 16:55:55.094550427 +0200
++++ install_amp 2012-04-01 16:56:12.609414516 +0200
+@@ -30,7 +30,7 @@
+ define("MODULE_DIR", dirname(__FILE__)."/amp_conf/htdocs/admin/modules/");
+
+ # semi constants
+-$webroot = "/var/www/html";
++$webroot = "/srv/www/htdocs";
+ /* should be deprecated and only under proramatic control
+ $fopwebroot = ""; // if blank, will use $webroot/panel
+ */
+@@ -816,7 +816,7 @@
+
+ if (!array_key_exists("AMPWEBROOT",$amp_conf)) {
+ out("Adding AMPWEBROOT option to amportal.conf - using AMP default");
+- $amp_conf["AMPWEBROOT"] = "/var/www/html";
++ $amp_conf["AMPWEBROOT"] = "/srv/www/htdocs";
+ }
+ if (!array_key_exists("AMPBIN",$amp_conf)) {
+ out("Adding AMPBIN option to amportal.conf - using AMP default");
+--- libfreepbx.install.php.orig 2012-02-28 23:12:16.000000000 +0100
++++ libfreepbx.install.php 2012-04-01 16:55:26.270916407 +0200
+@@ -1022,7 +1022,7 @@
+ $freepbx_conf->define_conf_setting('AMPSBIN',$set);
+
+ // AMPWEBROOT
+- $set['value'] = '/var/www/html';
++ $set['value'] = '/srv/www/htdocs';
+ $set['options'] = '';
+ $set['name'] = 'FreePBX Web Root Dir';
+ $set['description'] = 'The path to Apache webroot (leave off trailing slash).';
+@@ -1110,7 +1110,7 @@
+ $freepbx_conf->define_conf_setting('ASTVARLIBDIR',$set);
+
+ // AMPCGIBIN
+- $set['value'] = '/var/www/cgi-bin ';
++ $set['value'] = '/srv/www/cgi-bin ';
+ $set['options'] = '';
+ $set['name'] = 'CGI Dir';
+ $set['description'] = 'The path to Apache cgi-bin dir (leave off trailing slash).';
|
[-]
[+]
|
Added |
freepbx-suse-webroot.sql
^
|
@@ -0,0 +1,2 @@
+UPDATE freepbx_settings SET value='/srv/www/htdocs' WHERE keyword='AMPWEBROOT';
+UPDATE freepbx_settings SET value='/srv/www/cgi-bin' WHERE keyword='AMPCGIBIN';
|