/[smecontribs]/rpms/smeserver-freepbx/contribs10/smeserver-freepbx-14-go15.patch
ViewVC logotype

Diff of /rpms/smeserver-freepbx/contribs10/smeserver-freepbx-14-go15.patch

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

Revision 1.6 by jpp, Thu Dec 15 08:15:23 2022 UTC Revision 1.8 by jpp, Sun Feb 5 16:43:04 2023 UTC
# Line 147  diff -Nur --no-dereference smeserver-fre Line 147  diff -Nur --no-dereference smeserver-fre
147   fi   fi
148  -ln -sf $php /usr/sbin/php  -ln -sf $php /usr/sbin/php
149  -  -
150  +forcephp=$(/sbin/e-smith/db configuration getprop freepbx PHPVersion || echo $php )  +forcephp=$(/sbin/e-smith/db configuration getprop freepbx PHPVersion  2>/dev/null || echo $php )
151  +php=$forcephp  +php=$forcephp
152  +ln -sf /usr/bin/php$php /usr/sbin/php  +ln -sf /usr/bin/php$php /usr/sbin/php
153  +ln -sf /usr/bin/php$php /usr/local/sbin/php  +ln -sf /usr/bin/php$php /usr/local/sbin/php
# Line 257  diff -Nur --no-dereference smeserver-fre Line 257  diff -Nur --no-dereference smeserver-fre
257  -  php="/usr/bin/php56"  -  php="/usr/bin/php56"
258  +  php="56"  +  php="56"
259   fi   fi
260  +forcephp=$(/sbin/e-smith/db configuration getprop freepbx PHPVersion || echo $php )  +forcephp=$(/sbin/e-smith/db configuration getprop freepbx PHPVersion 2>/dev/null || echo $php )
261  +php=$forcephp  +php=$forcephp
262    
263  -$php  --define sys_temp_dir=/var/spool/asterisk/tmp/ --define allow_url_fopen=1  /var/lib/asterisk/bin/fwconsole $@  -$php  --define sys_temp_dir=/var/spool/asterisk/tmp/ --define allow_url_fopen=1  /var/lib/asterisk/bin/fwconsole $@


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