summaryrefslogtreecommitdiff
path: root/app/Log.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2017-11-24 20:05:15 +0000
committerGreg Roach <fisharebest@gmail.com>2017-11-24 21:45:16 +0000
commitf97c7170bf492115ce8ddce2b598cccf00cca95a (patch)
tree678766a9fac166c1c43dfb5269625d833885103d /app/Log.php
parentbe4ddfe1b61ec25edb66f2fb73c483bb1646869d (diff)
downloadwebtrees-f97c7170bf492115ce8ddce2b598cccf00cca95a.tar.gz
webtrees-f97c7170bf492115ce8ddce2b598cccf00cca95a.tar.bz2
webtrees-f97c7170bf492115ce8ddce2b598cccf00cca95a.zip
Working on multiple files in a media object
Diffstat (limited to 'app/Log.php')
-rw-r--r--app/Log.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Log.php b/app/Log.php
index c1f8798ff2..54b8fab711 100644
--- a/app/Log.php
+++ b/app/Log.php
@@ -44,7 +44,8 @@ class Log {
$tree = $WT_TREE;
}
- $request = Request::createFromGlobals();
+ //$request = Request::createFromGlobals();
+ $request = Request::create('', '', [], [], [], $_SERVER);
Database::prepare(
"INSERT INTO `##log` (log_type, log_message, ip_address, user_id, gedcom_id) VALUES (?, ?, ?, ?, ?)"