1 |
brianr |
1.1 |
diff -urN smeserver-phpldapadmin-1.6.0.old/createlinks smeserver-phpldapadmin-1.6.0/createlinks |
2 |
|
|
--- smeserver-phpldapadmin-1.6.0.old/createlinks 2014-06-21 17:53:47.000000000 +0100 |
3 |
|
|
+++ smeserver-phpldapadmin-1.6.0/createlinks 2021-10-04 11:41:33.775047125 +0100 |
4 |
|
|
@@ -9,8 +9,11 @@ |
5 |
|
|
bootstrap-console-save |
6 |
|
|
post-upgrade |
7 |
|
|
console-save |
8 |
|
|
+ smeserver-phpldapadmin-update |
9 |
|
|
)) |
10 |
|
|
{ |
11 |
|
|
- templates2events("/etc/phpldapadmin/config.php", $event) |
12 |
|
|
+ templates2events("/etc/phpldapadmin/config.php", $event); |
13 |
|
|
+ templates2events("/etc/httpd/conf/httpd.conf", $event); |
14 |
|
|
+ |
15 |
|
|
} |
16 |
|
|
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/etc/phpldapadmin/config.php/template-begin"); |
17 |
|
|
diff -urN smeserver-phpldapadmin-1.6.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86Phpldapadmin smeserver-phpldapadmin-1.6.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86Phpldapadmin |
18 |
|
|
--- smeserver-phpldapadmin-1.6.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86Phpldapadmin 2014-06-21 17:53:47.000000000 +0100 |
19 |
|
|
+++ smeserver-phpldapadmin-1.6.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/86Phpldapadmin 2021-10-04 12:47:51.670451035 +0100 |
20 |
|
|
@@ -22,7 +22,19 @@ |
21 |
|
|
require user admin |
22 |
|
|
Satisfy all |
23 |
|
|
AddType application/x-httpd-php .php .php3 |
24 |
|
|
- php_flag magic_quotes_gpc on |
25 |
|
|
- php_flag track_vars on |
26 |
|
|
+ |
27 |
|
|
+ { |
28 |
|
|
+ # we do not want people to mess with this for the moment |
29 |
|
|
+ my $version = '74'; |
30 |
|
|
+ $OUT .= qq( |
31 |
|
|
+ <FilesMatch .php\$\> |
32 |
|
|
+ SetHandler "proxy:unix:/var/run/php-fpm/php$version.sock|fcgi://localhost" |
33 |
|
|
+ </FilesMatch> |
34 |
|
|
+ ) |
35 |
|
|
+ |
36 |
|
|
+ } |
37 |
|
|
+ |
38 |
|
|
+ #php_flag magic_quotes_gpc on |
39 |
|
|
+ #php_flag track_vars on |
40 |
|
|
</Directory> |
41 |
|
|
|