include Preview class

This commit is contained in:
Uwe Steinmann 2020-03-23 06:47:18 +01:00
parent f17b120126
commit cf1e635c09

View File

@ -30,6 +30,11 @@ include("../inc/inc.ClassUI.php");
include("../inc/inc.ClassController.php");
include("../inc/inc.Authentication.php");
/**
* Include class to preview documents
*/
require_once("SeedDMS/Preview.php");
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
$controller = Controller::factory($tmp[1], array('dms'=>$dms, 'user'=>$user));