Skip to content

Commit c60ecdb

Browse files
committed
add /tmp directory to list of allowed directories for php open_basedir_restriction
1 parent bc6ca66 commit c60ecdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/conf/vhost.conf.master

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@
252252
php_admin_value upload_tmp_dir <tmpl_var name='document_root'>/tmp
253253
php_admin_value session.save_path <tmpl_var name='document_root'>/tmp
254254
<tmpl_if name='security_level' op='==' value='20'>
255-
php_admin_value open_basedir <tmpl_var name='document_root'>/web:<tmpl_var name='document_root'>/tmp:/usr/share/php5
255+
php_admin_value open_basedir <tmpl_var name='document_root'>/web:<tmpl_var name='document_root'>/tmp:/usr/share/php5:/tmp
256256
</tmpl_if>
257257
</tmpl_if>
258258
<tmpl_if name='php' op='==' value='suphp'>

0 commit comments

Comments
 (0)