This repository has been archived by the owner on Jan 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinfo.php
47 lines (41 loc) · 1.49 KB
/
info.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
/**
* @module Library Semantic
* @version see info.php of this module
* @author LEPTON project
* @copyright 2014-2015 LEPTON project
* @license http://opensource.org/licenses/MIT
* @license terms see info.php of this addon
* @platform see info.php of this addon
*/
// include class.secure.php to protect this file and the whole CMS!
if (defined('LEPTON_PATH')) {
include(LEPTON_PATH.'/framework/class.secure.php');
} else {
$oneback = "../";
$root = $oneback;
$level = 1;
while (($level < 10) && (!file_exists($root.'/framework/class.secure.php'))) {
$root .= $oneback;
$level += 1;
}
if (file_exists($root.'/framework/class.secure.php')) {
include($root.'/framework/class.secure.php');
} else {
trigger_error(sprintf("[ <b>%s</b> ] Can't include class.secure.php!", $_SERVER['SCRIPT_NAME']), E_USER_ERROR);
}
}
// end include class.secure.php
$module_directory = 'lib_semantic';
$module_name = 'Semantic Library';
$module_function = 'library';
$module_version = '2.1.4.0';
$module_platform = '2.x';
$module_delete = false;
$module_author = 'cms-lab';
$module_license = '<a href="http://opensource.org/licenses/MIT" target="_blank">MIT license</a>';
$module_license_terms = '-';
$module_description = 'This module installs basic files <a href="http://semantic-ui.com" target="_blank">Semantic UI</a>.';
$module_guid = 'd5423456-645e-452a-a8be-0d072a29e081';
$module_home = 'http://www.lepton-cms.com';
?>