1 |
wellsi |
1.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 |
|
|
+} |