|
|
@ -12,7 +12,7 @@ foreach my $share ($a->get_all_by_prop(type => 'share')){ |
|
|
|
my $post_max_size = $share->prop('PHPPostMaxSize') || '10M'; |
|
|
|
my $post_max_size = $share->prop('PHPPostMaxSize') || '10M'; |
|
|
|
my $upload_max_filesize = $share->prop('PHPUploadMaxFilesize') || '10M'; |
|
|
|
my $upload_max_filesize = $share->prop('PHPUploadMaxFilesize') || '10M'; |
|
|
|
my $file_upload = $share->prop('PHPFileUpload') || 'enabled'; |
|
|
|
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; |
|
|
|
':/var/lib/php/' . $pool_name; |
|
|
|
my $disabled_functions = $share->prop('PHPDisabledFunctions') || 'system,show_source,' . |
|
|
|
my $disabled_functions = $share->prop('PHPDisabledFunctions') || 'system,show_source,' . |
|
|
|
'symlink,exec,dl,shell_exec,' . |
|
|
|
'symlink,exec,dl,shell_exec,' . |
|
|
|