forked from WebsiteBaker-modules/hints
-
Notifications
You must be signed in to change notification settings - Fork 0
/
view.php
28 lines (23 loc) · 1.01 KB
/
view.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
<?php
/**
*
* @category page
* @package Hints
* @version 0.6.3
* @authors Martin Hecht (mrbaseman), Ruud Eisinga (Dev4me)
* @copyright (c) 2018 - 2022, Martin Hecht
* @link https://github.com/mrbaseman/hints
* @license GNU General Public License v3 - The javascript features are third party software, spectrum color picker and autosize, both licensed under MIT license
* @platform 2.8.x
* @requirements PHP 7.x
*
**/
/* -------------------------------------------------------- */
// Must include code to stop this file being accessed directly
if(!defined('WB_PATH')) {
// Stop this file being access directly
if(!headers_sent()) header("Location: ../index.php",TRUE,301);
die('<head><title>Access denied</title></head><body><h2 style="color:red;margin:3em auto;text-align:center;">Cannot access this file directly</h2></body></html>');
}
/* -------------------------------------------------------- */
// no output in frontend!