1 |
jpp |
1.1 |
diff -Nur --no-dereference smeserver-dl-0.2.3.old/createlinks smeserver-dl-0.2.3/createlinks |
2 |
|
|
--- smeserver-dl-0.2.3.old/createlinks 2022-07-21 09:44:30.426000000 -0400 |
3 |
|
|
+++ smeserver-dl-0.2.3/createlinks 2022-07-21 09:47:46.225000000 -0400 |
4 |
|
|
@@ -32,3 +32,9 @@ |
5 |
|
|
# PHP header and footer |
6 |
|
|
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/etc/dl.php/template-begin"); |
7 |
|
|
safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/etc/dl.php/template-end"); |
8 |
|
|
+ |
9 |
|
|
+#backup contrib |
10 |
|
|
+use esmith::Build::Backup qw(:all); |
11 |
|
|
+backup_includes("smeserver-dl", qw( |
12 |
|
|
+/var/lib/dl/ |
13 |
|
|
+)); |
14 |
|
|
diff -Nur --no-dereference smeserver-dl-0.2.3.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl smeserver-dl-0.2.3/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl |
15 |
|
|
--- smeserver-dl-0.2.3.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl 2022-07-21 09:44:30.435000000 -0400 |
16 |
|
|
+++ smeserver-dl-0.2.3/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98Dl 2022-07-21 09:50:44.632000000 -0400 |
17 |
|
|
@@ -27,7 +27,7 @@ |
18 |
|
|
AddType application/x-httpd-php .php |
19 |
|
|
|
20 |
|
|
<FilesMatch .php> |
21 |
|
|
- SetHandler "proxy:unix:/var/run/php-fpm/php74-dl.sock|fcgi://localhost" |
22 |
|
|
+ SetHandler "proxy:unix:/var/run/php-fpm/php__PHP_VERSION__-dl.sock|fcgi://localhost" |
23 |
|
|
</FilesMatch> |
24 |
|
|
|
25 |
|
|
#php_admin_flag file_uploads On |