Skip to content

Commit d894690

Browse files
author
Takashi Matsuo
authored
Use WHITELIST_FUNCTIONS envvar. (GoogleCloudPlatform#134)
1 parent 1dfbf18 commit d894690

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

appengine/wordpress/src/files/flexible/app.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ beta_settings:
66

77
runtime_config:
88
document_root: wordpress
9+
10+
env_variables:
11+
WHITELIST_FUNCTIONS: escapeshellarg,escapeshellcmd,exec,pclose,popen,shell_exec,phpversion,php_uname
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
suhosin.executor.func.blacklist="highlight_file, lchgrp, lchown, link, symlink, passthru, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, show_source, system, gc_collect_cycles, gc_enable, gc_disable, gc_enabled, getmypid, getmyuid, getmygid, getrusage, getmyinode, get_current_user, phpinfo"
21
extension=bcmath.so
32
zend_extension=opcache.so

0 commit comments

Comments
 (0)