/[smeserver]/rpms/e-smith-php/sme9/e-smith-php-2.4.0_add_upload_tmp_folder.patch
ViewVC logotype

Annotation of /rpms/e-smith-php/sme9/e-smith-php-2.4.0_add_upload_tmp_folder.patch

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


Revision 1.1 - (hide annotations) (download)
Thu May 8 07:26:34 2014 UTC (10 years, 6 months ago) by stephdl
Branch: MAIN
CVS Tags: e-smith-php-2_4_0-5_el6_sme, e-smith-php-2_4_0-4_el6_sme, HEAD
e-smith-php-2.4.0_add_upload_tmp_folder.patch

1 stephdl 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     + # 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';
13     $OUT .= "</Directory>\n";
14     }
15     }

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