/[smecontribs]/rpms/smeserver-nextcloud/contribs10/smeserver-nextcloud-1.1.0.bz11083-phpbasedir.patch
ViewVC logotype

Contents of /rpms/smeserver-nextcloud/contribs10/smeserver-nextcloud-1.1.0.bz11083-phpbasedir.patch

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


Revision 1.2 - (show annotations) (download)
Sun Nov 8 20:40:42 2020 UTC (4 years ago) by jpp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-1.sme
- initial SME10 import [SME: 11086]

1 diff -Nur smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Nextcloud smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Nextcloud
2 --- smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Nextcloud 2020-11-08 11:36:59.801000000 -0500
3 +++ smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Nextcloud 2020-11-08 11:39:22.353000000 -0500
4 @@ -6,6 +6,8 @@
5 $max_upload_size .= 'M' if ($max_upload_size =~ m/^\d+$/);
6 my $memory_limit = ($nextcloud{MemoryLimit} || '512M');
7 $memory_limit .= 'M' if ($memory_limit =~ m/^\d+$/);
8 + my $open_basedir= $nextcloud{PHPBaseDir} || '';
9 + $open_basedir = "/usr/share/nextcloud:/var/lib/nextcloud:/var/log/nextcloud.log:/var/lib/php/nextcloud:/home/e-smith/files/nextcloud:/dev/urandom:/proc/meminfo:$open_basedir";
10 my $id = 'nextcloud';
11 $OUT .=<<_EOF;
12
13 @@ -37,7 +39,7 @@
14 php_admin_value[post_max_size] = $max_upload_size
15 php_admin_value[upload_max_filesize] = $max_upload_size
16 php_admin_value[disable_functions] = system, show_source, symlink, exec, dl, shell_exec, passthru, phpinfo, escapeshellarg, escapeshellcmd
17 -php_admin_value[open_basedir] = /usr/share/nextcloud:/var/lib/nextcloud:/var/log/nextcloud.log:/var/lib/php/nextcloud:/home/e-smith/files/nextcloud:/dev/urandom:/proc/meminfo
18 +php_admin_value[open_basedir] = $open_basedir
19 php_admin_flag[allow_url_fopen] = on
20 php_admin_flag[file_upload] = on
21 php_admin_flag[session.cookie_httponly] = on

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