mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
save current work state
This commit is contained in:
parent
a11a40d9a9
commit
34decf3576
4 changed files with 14 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ require_once('preview/pdf.php');
|
|||
require_once('preview/svg.php');
|
||||
require_once('preview/txt.php');
|
||||
require_once('preview/unknown.php');
|
||||
require_once('preview/msoffice.php');
|
||||
//require_once('preview/msoffice.php');
|
||||
//require_once('preview/opendocument.php');
|
||||
|
||||
class Preview {
|
||||
|
|
|
|||
0
lib/preview/libreoffice-cl.php
Normal file
0
lib/preview/libreoffice-cl.php
Normal file
13
lib/preview/office.php
Normal file
13
lib/preview/office.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) 2013 Georg Ehrke georg@ownCloud.com
|
||||
* This file is licensed under the Affero General Public License version 3 or
|
||||
* later.
|
||||
* See the COPYING-README file.
|
||||
*/
|
||||
if(shell_exec('libreoffice') || shell_exec('openoffice')) {
|
||||
require_once('libreoffice-cl.php');
|
||||
}else{
|
||||
require_once('msoffice.php');
|
||||
require_once('opendocument.php');
|
||||
}
|
||||
0
lib/preview/opendocument.php
Normal file
0
lib/preview/opendocument.php
Normal file
Loading…
Reference in a new issue