Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-web-393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-web-393
Commits
e876c1b1
Commit
e876c1b1
authored
Mar 27, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
increased mem limit in php
parent
93dfcc13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
eyesis4pi_interface.php
src/eyesis4pi/eyesis4pi_interface.php
+5
-2
No files found.
src/eyesis4pi/eyesis4pi_interface.php
View file @
e876c1b1
...
@@ -59,6 +59,8 @@ switch($cmd){
...
@@ -59,6 +59,8 @@ switch($cmd){
break
;
break
;
case
"logs_download"
:
case
"logs_download"
:
ini_set
(
'memory_limit'
,
'512M'
);
header
(
"Content-Type: application/octet-stream"
);
header
(
"Content-Type: application/octet-stream"
);
header
(
"Content-Disposition: attachment; filename=
\"
{
$_SERVER
[
"SERVER_ADDR"
]
}
.logs
\"
"
);
header
(
"Content-Disposition: attachment; filename=
\"
{
$_SERVER
[
"SERVER_ADDR"
]
}
.logs
\"
"
);
...
@@ -73,7 +75,7 @@ switch($cmd){
...
@@ -73,7 +75,7 @@ switch($cmd){
echo_file
(
"/var/log/init_elphel393.log"
);
echo_file
(
"/var/log/init_elphel393.log"
);
echo_file
(
"/var/log/x393sata_control.log"
);
echo_file
(
"/var/log/x393sata_control.log"
);
echo_file
(
"/var/log/x393sata_eyesis4pi.log"
);
//
echo_file("/var/log/x393sata_eyesis4pi.log");
echo_file
(
"/var/state/ssd"
);
echo_file
(
"/var/state/ssd"
);
...
@@ -82,10 +84,11 @@ switch($cmd){
...
@@ -82,10 +84,11 @@ switch($cmd){
echo_file
(
"/var/log/lighttpd.error.log"
);
echo_file
(
"/var/log/lighttpd.error.log"
);
echo_file
(
"/var/log/lighttpd_stderr.log"
);
echo_file
(
"/var/log/lighttpd_stderr.log"
);
echo_file
(
"/var/tmp/camogm.log"
);
echo_file
(
"/var/log/messages"
);
echo_file
(
"/var/log/messages"
);
echo_file
(
"/var/log/access.log"
);
echo_file
(
"/var/log/access.log"
);
echo_file
(
"/var/tmp/camogm.log"
);
break
;
break
;
case
"external_drive"
:
case
"external_drive"
:
switch_sata_connection
(
"external"
);
switch_sata_connection
(
"external"
);
...
...
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