-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBM-thumb.php
31 lines (29 loc) · 910 Bytes
/
BM-thumb.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
/**
* BM - veno file manager thumb
*
* PHP version >= 5.3
*
* @category PHP
* @package VenoFileManager
* @author Nicola Franchini <info@veno.it>
* @copyright 2013 Nicola Franchini
* @license Exclusively sold on CodeCanyon: http://codecanyon.net/item/veno-file-manager-host-and-share-files/6114247
* @link http://filemanager.veno.it/
*/
require_once 'BM-Admin/config.php';
if ($_CONFIG['debug_mode'] === true) {
error_reporting(E_ALL);
ini_set('display_errors', 1);
}
require_once 'BM-Admin/class/class.setup.php';
require_once 'BM-Admin/class/class.imageserver.php';
require_once 'BM-Admin/class/class.gatekeeper.php';
require_once 'BM-Admin/class/class.utils.php';
$setUp = new SetUp();
if (!GateKeeper::isAccessAllowed() && $setUp->getConfig('share_thumbnails') !== true) {
die('access denied');
}
$imageServer = new ImageServer();
$imageServer->showImage();
exit;