mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
pbx2.patch
This commit is contained in:
parent
bd141346de
commit
6711f72921
1 changed files with 19 additions and 0 deletions
19
roles/pbx/templates/pbx2.patch
Normal file
19
roles/pbx/templates/pbx2.patch
Normal file
|
@ -0,0 +1,19 @@
|
|||
--- /var/www/html/freepbx/admin/libraries/view.functions.php.orig 2020-08-24 11:14:51.551433838 +0000
|
||||
+++ /var/www/html/freepbx/admin/libraries/view.functions.php 2020-08-24 11:14:30.207107776 +0000
|
||||
@@ -12,11 +12,11 @@
|
||||
|
||||
// send error if magic_quotes_gpc is enabled on this system as much of the code base assumes not
|
||||
//
|
||||
- if(get_magic_quotes_gpc()) {
|
||||
- $nt->add_error('core', 'MQGPC', _("Magic Quotes GPC"), _("You have magic_quotes_gpc enabled in your php.ini, http or .htaccess file which will cause errors in some modules. FreePBX expects this to be off and runs under that assumption"));
|
||||
- } else {
|
||||
- $nt->delete('core', 'MQGPC');
|
||||
- }
|
||||
+ //if(get_magic_quotes_gpc()) {
|
||||
+ // $nt->add_error('core', 'MQGPC', _("Magic Quotes GPC"), _("You have magic_quotes_gpc enabled in your php.ini, http or .htaccess file which will cause errors in some modules. FreePBX expects this to be off and runs under that assumption"));
|
||||
+ //} else {
|
||||
+ // $nt->delete('core', 'MQGPC');
|
||||
+ //}
|
||||
}
|
||||
|
||||
// setup locale
|
Loading…
Reference in a new issue