/[smecontribs]/rpms/smeserver-freepbx/contribs9/smeserver-freepbx-0.1-Sme9Ast13Fpbx13-2.patch
ViewVC logotype

Diff of /rpms/smeserver-freepbx/contribs9/smeserver-freepbx-0.1-Sme9Ast13Fpbx13-2.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by unnilennium, Sun May 15 14:58:42 2016 UTC Revision 1.2 by unnilennium, Sun May 15 15:36:39 2016 UTC
# Line 48  diff -Nur smeserver-freepbx-0.1.old/root Line 48  diff -Nur smeserver-freepbx-0.1.old/root
48    
49       if [ -e /usr/share/freepbx/sources/freepbx/installlib/SQL/asterisk.sql ]; then       if [ -e /usr/share/freepbx/sources/freepbx/installlib/SQL/asterisk.sql ]; then
50           mysql $dbname < /usr/share/freepbx/sources/freepbx/installlib/SQL/asterisk.sql           mysql $dbname < /usr/share/freepbx/sources/freepbx/installlib/SQL/asterisk.sql
51  +       mysql $DBNAME -e "UPDATE freepbx_settings SET value=0 where keyword='CHECKREFERER';"  +       mysql $dbname -e "UPDATE freepbx_settings SET value=0 where keyword='CHECKREFERER';"
52  +       mysql $DBNAME -e "UPDATE freepbx_settings SET value='webserver' where keyword='AUTHTYPE';"  +       mysql $dbname -e "UPDATE freepbx_settings SET value='webserver' where keyword='AUTHTYPE';"
53       else       else
54           echo "Error: file /usr/share/freepbx/sources/freepbx/installlib/SQL/asterisk.sql doesn't exists"           echo "Error: file /usr/share/freepbx/sources/freepbx/installlib/SQL/asterisk.sql doesn't exists"
55           exit 1           exit 1


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed