From cf1e635c09596662b309ca9646aad704fc564734 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Mon, 23 Mar 2020 06:47:18 +0100 Subject: [PATCH] include Preview class --- op/op.PdfPreview.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/op/op.PdfPreview.php b/op/op.PdfPreview.php index 00fae0395..9f0ad2849 100644 --- a/op/op.PdfPreview.php +++ b/op/op.PdfPreview.php @@ -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));