-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
33 lines (25 loc) · 611 Bytes
/
index.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
<?php
/**
* Module Name: Theme Options
* Module URI: http://kenobisoft.com
* Description: This is the module entry-point.
* Version: 2.0.0
* Author: KenobiSoft
* Author URI: http://kenobisoft.com
* License: GPL2
*/
namespace ThemeOptions;
// die, if directly accessed
defined('ABSPATH') or die('Access denied!');
/**
* Module backend entry-point
*/
function themeOptions() {
// get main module class
require_once('core/Initialzr.php');
// get module config
$config = simplexml_load_file(__DIR__ . '/config.xml');
// initialize plugin
Initialzr::getInstance($config);
}
themeOptions();