-
Notifications
You must be signed in to change notification settings - Fork 7
/
plugincore.php
33 lines (27 loc) · 944 Bytes
/
plugincore.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
/*
Plugin Name: DB-Toolkit
Plugin URI: http://dbtoolkit.co.za
Description: Plugin for building databases, managers and viewers for custom Content Management.
Author: David Cramer
Version: 0.3.3
Author URI: http://dbtoolkit.co.za
*/
//initilize plugin
if(empty($_SESSION['dataform']['OutScripts'])) {
$_SESSION['dataform']['OutScripts'] = '';
}
define('DB_TOOLKIT', plugin_dir_path(__FILE__));
define('DBT_URL', plugin_dir_url(__FILE__));
define('DBT_VERSION', '0.3.3');
//hide notices while I work through the cleanup.
//error_reporting(E_ALL ^ E_NOTICE);
require_once DB_TOOLKIT.'libs/functions.php';
require_once DB_TOOLKIT.'libs/apps.php';
require_once DB_TOOLKIT.'libs/actions.php';
require_once DB_TOOLKIT.'libs/shortcodes.php';
require_once DB_TOOLKIT.'libs/apps.php';
require_once DB_TOOLKIT.'libs/process.php';
require_once DB_TOOLKIT.'libs/widgets.php';
register_activation_hook( __FILE__, 'interface_VersionCheck');
?>