/[smeserver]/rpms/e-smith-php/sme7/e-smith-php-2.0.0-exposephp.patch
ViewVC logotype

Contents of /rpms/e-smith-php/sme7/e-smith-php-2.0.0-exposephp.patch

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


Revision 1.1 - (show annotations) (download)
Mon Jul 19 20:38:38 2010 UTC (13 years, 10 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-php-2_0_0-2_el4_sme, HEAD
Default expose_php in php.ini to Off [SME: 6133]

1 diff -ruN e-smith-php-2.0.0.old/root/etc/e-smith/templates/etc/php.ini/10LanguageOptions e-smith-php-2.0.0/root/etc/e-smith/templates/etc/php.ini/10LanguageOptions
2 --- e-smith-php-2.0.0.old/root/etc/e-smith/templates/etc/php.ini/10LanguageOptions 2008-10-07 18:36:42.000000000 +0100
3 +++ e-smith-php-2.0.0/root/etc/e-smith/templates/etc/php.ini/10LanguageOptions 2010-07-19 21:03:27.000000000 +0100
4 @@ -21,4 +21,3 @@
5 highlight.bg = #FFFFFF
6 highlight.default = #0000BB
7 highlight.html = #000000
8 -expose_php = On
9 diff -ruN e-smith-php-2.0.0.old/root/etc/e-smith/templates/etc/php.ini/15ExposePHP e-smith-php-2.0.0/root/etc/e-smith/templates/etc/php.ini/15ExposePHP
10 --- e-smith-php-2.0.0.old/root/etc/e-smith/templates/etc/php.ini/15ExposePHP 1970-01-01 01:00:00.000000000 +0100
11 +++ e-smith-php-2.0.0/root/etc/e-smith/templates/etc/php.ini/15ExposePHP 2010-07-19 21:12:20.000000000 +0100
12 @@ -0,0 +1,5 @@
13 +; Default expose_php to Off for security reasons
14 +expose_php = {
15 + my $ep = $php{ExposePHP} || "Off";
16 + $OUT .= "$ep";
17 +}

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