Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-admin-essentials
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etersoft-admin-essentials
Commits
9a746cb6
Commit
9a746cb6
authored
Oct 12, 2018
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add PHP_allow_url_fopen and PHP_disable_functions support
parent
944b71dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
createbytask.int.sh
vz/azbyka/createbytask.int.sh
+3
-1
No files found.
vz/azbyka/createbytask.int.sh
View file @
9a746cb6
...
...
@@ -135,7 +135,9 @@ tune_php()
local
aphp
=
"
$1
"
#[ -s php7.add ] && cat php7.add | st tee -a $aphp
[
-n
"
$PHP_memory_limit
"
]
&&
subst
"s|^memory_limit =.*|memory_limit =
$PHP_memory_limit
|"
$aphp
[
-n
"
$PHP_max_execution_time
"
]
&&
subst
"s|^max_execution_time = .*|max_execution_time =
$PHP_max_execution_time
|"
$aphp
[
-n
"
$PHP_max_execution_time
"
]
&&
subst
"s|^max_execution_time =.*|max_execution_time =
$PHP_max_execution_time
|"
$aphp
[
-n
"
$PHP_allow_url_fopen
"
]
&&
subst
"s|^allow_url_fopen =.*|allow_url_fopen =
$PHP_allow_url_fopen
|"
$aphp
[
-n
"
$PHP_disable_functions
"
]
&&
subst
"s|^disable_functions =.*|disable_functions =
$PHP_disable_functions
|"
$aphp
if
[
-n
"
$PHP_post_max_size
"
]
;
then
subst
"s|^post_max_size = .*|post_max_size =
$PHP_post_max_size
|"
$aphp
subst
"s|^upload_max_filesize = .*|upload_max_filesize =
$PHP_post_max_size
|"
$aphp
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment