/[smeserver]/rpms/smeserver-php/sme10/smeserver-php-3.0.0-bz10904-pass-auth-token-to-fpm.patch
ViewVC logotype

Diff of /rpms/smeserver-php/sme10/smeserver-php-3.0.0-bz10904-pass-auth-token-to-fpm.patch

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

Revision 1.2 by jpp, Thu Mar 26 04:08:34 2020 UTC Revision 1.3 by jpp, Fri Mar 27 16:12:10 2020 UTC
# Line 36  diff -Nur smeserver-php-3.0.0.old/root/e Line 36  diff -Nur smeserver-php-3.0.0.old/root/e
36  +  my $autoprepend         = $pool->prop('AutoPrependFile')  || 'enabled';  +  my $autoprepend         = $pool->prop('AutoPrependFile')  || 'enabled';
37    
38     # Format vars     # Format vars
39  +  my $autoprep            = ( $autoprepend eq "disabled") ? "" : "/usr/share/pear/auth_translation.php";  +  my $autoprep            = ( $autoprepend eq "disabled") ? "" : "/usr/share/php/auth_translation.php";
40  +  my $autoprepath         = ( $autoprepend eq "disabled") ? "" : ",/usr/share/php/";  +  my $autoprepath         = ( $autoprepend eq "disabled") ? "" : ",/usr/share/php/";
41     $file_upload        = ($file_upload =~ m/^1|yes|on|enabled$/) ?     'on' : 'off';     $file_upload        = ($file_upload =~ m/^1|yes|on|enabled$/) ?     'on' : 'off';
42     $allow_url_fopen    = ($allow_url_fopen =~ m/^1|yes|on|enabled$/) ? 'on' : 'off';     $allow_url_fopen    = ($allow_url_fopen =~ m/^1|yes|on|enabled$/) ? 'on' : 'off';
# Line 67  diff -Nur smeserver-php-3.0.0.old/root/e Line 67  diff -Nur smeserver-php-3.0.0.old/root/e
67  +  my $autoprepend         = $ibay->prop('PHPAutoPrependFile')  || 'enabled';  +  my $autoprepend         = $ibay->prop('PHPAutoPrependFile')  || 'enabled';
68  +  +
69  +  # Format vars  +  # Format vars
70  +  my $autoprep            = ( $autoprepend eq "disabled") ? "" : "/usr/share/pear/auth_translation.php";  +  my $autoprep            = ( $autoprepend eq "disabled") ? "" : "/usr/share/php/auth_translation.php";
71  +  my $autoprepath         = ( $autoprepend eq "disabled") ? "" : ",/usr/share/php/";  +  my $autoprepath         = ( $autoprepend eq "disabled") ? "" : ",/usr/share/php/";
72     $file_upload        = ($file_upload =~ m/^1|yes|on|enabled$/) ?     'on' : 'off';     $file_upload        = ($file_upload =~ m/^1|yes|on|enabled$/) ?     'on' : 'off';
73     $allow_url_fopen    = ($allow_url_fopen =~ m/^1|yes|on|enabled$/) ? 'on' : 'off';     $allow_url_fopen    = ($allow_url_fopen =~ m/^1|yes|on|enabled$/) ? 'on' : 'off';
# Line 101  diff -Nur smeserver-php-3.0.0.old/root/e Line 101  diff -Nur smeserver-php-3.0.0.old/root/e
101   php_admin_flag[file_upload] = { $FileUpload }   php_admin_flag[file_upload] = { $FileUpload }
102   php_admin_flag[session.cookie_httponly] = on   php_admin_flag[session.cookie_httponly] = on
103   php_admin_flag[allow_url_include] = off   php_admin_flag[allow_url_include] = off
104  +php_admin_value[auto_prepend_file] = /usr/share/pear/auth_translation.php  +php_admin_value[auto_prepend_file] = /usr/share/php/auth_translation.php
105   php_admin_value[session.save_handler] = files   php_admin_value[session.save_handler] = files


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