Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
PAD2016IRP04
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Stijn Holzhauer
PAD2016IRP04
Commits
69118a50
Commit
69118a50
authored
Jun 06, 2016
by
S.Holzhauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
echo to access log specific onserver
parent
ab69eef9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
server.php
WebContent/watchdad/modules/backend/server.php
+4
-1
No files found.
WebContent/watchdad/modules/backend/server.php
View file @
69118a50
...
...
@@ -14,10 +14,13 @@ if ($argc == 2) {
else
{
$ID
=
isset
(
$_REQUEST
[
'ID'
])
?
$_REQUEST
[
'ID'
]
:
null
;
}
date_default_timezone_set
(
"Europe/Amsterdam"
);
$time
=
date
(
"H:i:sa"
);
$date
=
date
(
"Y-m-d"
);
echo
"
$date
$time
, Called with ID=
$ID
\n
"
;
//if the ID is from a camera:
if
(
$ID
!=
NULL
&&
$ID
!=
"IRPS001"
){
//get the elderid connected to the camera.
...
...
@@ -148,5 +151,5 @@ else if ($ID == NULL){
//print to error log.
error_log
(
"No ID was given."
);
}
echo
"Ready.
\n
"
;
?>
\ No newline at end of file
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