mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
new branch + anonymus without id
This commit is contained in:
4
web/documentserver-example/php/doceditor.php
Normal file → Executable file
4
web/documentserver-example/php/doceditor.php
Normal file → Executable file
@ -119,7 +119,7 @@
|
||||
"createUrl" => $user->id != "uid-0" ? $createUrl : null,
|
||||
"templates" => $user->templates ? $templates : null,
|
||||
"user" => [ // the user currently viewing or editing the document
|
||||
"id" => $user->id,
|
||||
"id" => $user->id != "uid-0" ? $user->id : null,
|
||||
"name" => $user->name,
|
||||
"group" => $user->group
|
||||
],
|
||||
@ -203,7 +203,7 @@
|
||||
return serverPath(false) . '/'
|
||||
. "doceditor.php"
|
||||
. "?fileExt=" . $ext
|
||||
. "&user=" . $uid
|
||||
. "&user=" . $uid
|
||||
. "&type=" . $type;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user