/[smeserver]/rpms/e-smith-php/sme10/e-smith-php-2.6.0_add_upload_tmp_folder.patch
ViewVC logotype

Annotation of /rpms/e-smith-php/sme10/e-smith-php-2.6.0_add_upload_tmp_folder.patch

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


Revision 1.2 - (hide annotations) (download)
Thu Jun 23 14:56:11 2016 UTC (7 years, 11 months ago) by unnilennium
Branch: MAIN
Changes since 1.1: +4 -4 lines
* Thu Jun 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
- add tmp folder to ibays [SME: 7011]
- add session folder to ibays [SME: 9620]
- change global session folder from /tmp to /var/lib/php/session/ [SME: 139]

1 unnilennium 1.1 diff -Nur e-smith-php-2.4.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays e-smith-php-2.4.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays
2     --- e-smith-php-2.4.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays 2014-03-22 18:09:55.349034164 +0100
3     +++ e-smith-php-2.4.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays 2014-03-22 23:09:00.603783904 +0100
4     @@ -17,6 +17,11 @@
5     my $basedir = $ibay->prop('PHPBaseDir')
6     || ("/home/e-smith/files/ibays/" . $ibay->key . "/");
7     $OUT .= " php_admin_value open_basedir $basedir\n";
8     +
9 unnilennium 1.2 + # Set the upload_tmp_folder where php can upload files
10     + my $tmpdir = $ibay->prop('PHPTmpDir') || 'enabled';
11     + $tmpdir = ('/home/e-smith/files/ibays/' . $ibay->key . '/tmp') if $tmpdir eq 'enabled';
12     + $OUT .= " php_admin_value upload_tmp_dir $tmpdir\n" unless ($tmpdir eq 'disabled' || ! -d $tmpdir);
13 unnilennium 1.1 $OUT .= "</Directory>\n";
14     }
15     }

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