diff --git a/web/documentserver-example/php/app_data/demo.xlsx b/web/documentserver-example/php/app_data/demo.xlsx
index 124a39df..ec7015b0 100644
Binary files a/web/documentserver-example/php/app_data/demo.xlsx and b/web/documentserver-example/php/app_data/demo.xlsx differ
diff --git a/web/documentserver-example/php/app_data/new.docx b/web/documentserver-example/php/app_data/new.docx
new file mode 100644
index 00000000..56831d5c
Binary files /dev/null and b/web/documentserver-example/php/app_data/new.docx differ
diff --git a/web/documentserver-example/php/app_data/new.pptx b/web/documentserver-example/php/app_data/new.pptx
new file mode 100644
index 00000000..1c406710
Binary files /dev/null and b/web/documentserver-example/php/app_data/new.pptx differ
diff --git a/web/documentserver-example/php/app_data/new.xlsx b/web/documentserver-example/php/app_data/new.xlsx
new file mode 100644
index 00000000..ab1038c9
Binary files /dev/null and b/web/documentserver-example/php/app_data/new.xlsx differ
diff --git a/web/documentserver-example/php/doceditor.php b/web/documentserver-example/php/doceditor.php
index b8491e41..7b2319e2 100644
--- a/web/documentserver-example/php/doceditor.php
+++ b/web/documentserver-example/php/doceditor.php
@@ -57,7 +57,7 @@
function tryGetDefaultByType($createExt) {
- $demoName = "demo." . $createExt;
+ $demoName = ($_GET["sample"] ? "demo." : "new.") . $createExt;
$demoFilename = GetCorrectName($demoName);
if(!@copy(dirname(__FILE__) . DIRECTORY_SEPARATOR . "app_data" . DIRECTORY_SEPARATOR . $demoName, getStoragePath($demoFilename)))
diff --git a/web/documentserver-example/php/index.php b/web/documentserver-example/php/index.php
index 6d3daf51..3acfad2c 100644
--- a/web/documentserver-example/php/index.php
+++ b/web/documentserver-example/php/index.php
@@ -76,7 +76,13 @@
ONLYOFFICE Integration Edition – Welcome!
- Get started with a demo-sample of ONLYOFFICE Integration Edition, the first html5-based editors. You may upload your own documents for testing using the "Upload file" button and selecting the necessary files on your PC.
+ This interactive example demonstrates a way to integrate ONLYOFFICE™ collaborative online document editing into your Web Application. Our editors are fully implemented in HTML5! You may upload your own documents for testing, using the "Upload file" button and uploading local Office files from your computer. You can upload the documents with the most popular file formats, such as .DOCX, .XLSX, .PPTX, etc.
+