mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
move inclusion of "SeedDMS/Preview.php" into view
This commit is contained in:
parent
43633620e8
commit
fcf85a88e0
|
@ -27,11 +27,6 @@ include("../inc/inc.ClassUI.php");
|
||||||
include("../inc/inc.ClassAccessOperation.php");
|
include("../inc/inc.ClassAccessOperation.php");
|
||||||
include("../inc/inc.Authentication.php");
|
include("../inc/inc.Authentication.php");
|
||||||
|
|
||||||
/**
|
|
||||||
* Include class to preview documents
|
|
||||||
*/
|
|
||||||
require_once("SeedDMS/Preview.php");
|
|
||||||
|
|
||||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||||
$view = UI::factory($theme, $tmp[1]);
|
$view = UI::factory($theme, $tmp[1]);
|
||||||
if(!$view) {
|
if(!$view) {
|
||||||
|
|
|
@ -18,6 +18,11 @@
|
||||||
*/
|
*/
|
||||||
require_once("class.Bootstrap.php");
|
require_once("class.Bootstrap.php");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Include class to preview documents
|
||||||
|
*/
|
||||||
|
require_once("SeedDMS/Preview.php");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class which outputs the html page for ViewDocument view
|
* Class which outputs the html page for ViewDocument view
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user