From bfdabe4b1bd15df3aab2d7053de6060bbe80198f Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sun, 9 Jul 2017 21:04:29 +0200 Subject: [PATCH] Fix double $ in var name --- root/etc/e-smith/templates/etc/php-fpm.d/shares.conf/10Shares | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/e-smith/templates/etc/php-fpm.d/shares.conf/10Shares b/root/etc/e-smith/templates/etc/php-fpm.d/shares.conf/10Shares index 7cc4422..924f8e5 100644 --- a/root/etc/e-smith/templates/etc/php-fpm.d/shares.conf/10Shares +++ b/root/etc/e-smith/templates/etc/php-fpm.d/shares.conf/10Shares @@ -12,7 +12,7 @@ foreach my $share ($a->get_all_by_prop(type => 'share')){ my $post_max_size = $share->prop('PHPPostMaxSize') || '10M'; my $upload_max_filesize = $share->prop('PHPUploadMaxFilesize') || '10M'; my $file_upload = $share->prop('PHPFileUpload') || 'enabled'; - my $open_basedir = $share->prop('PHPBaseDir') || '/home/e-smith/files/shares/' . $$pool_name . + my $open_basedir = $share->prop('PHPBaseDir') || '/home/e-smith/files/shares/' . $pool_name . ':/var/lib/php/' . $pool_name; my $disabled_functions = $share->prop('PHPDisabledFunctions') || 'system,show_source,' . 'symlink,exec,dl,shell_exec,' .