-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetting.php
More file actions
20 lines (15 loc) · 745 Bytes
/
setting.php
File metadata and controls
20 lines (15 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
require_once(ABSPATH.'includes/functions.php');
/* Constants */
require_once (ABSPATH . 'includes/constants.php');
require_once(ABSPATH .'includes/ez/shared/ez_sql_core.php'); //import ez_sql_core.php for sql library
require_once(ABSPATH .'includes/ez/ez_sql_mysql.php'); //import ez_sql_mysql.php for mysql library
$dbgh = new ezSQL_mysql(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST); // create $db object of ezSQL_mysql and connect to database
$dbgh->query('SET NAMES '. DB_CHARSET);
/** Pagination Class **/
require_once(ABSPATH .'includes/paginator.class.php');
//create paginator object and generate pagination
$pages = new Paginator; //create paginator object
// Upload Class
require_once(ABSPATH .'includes/uploader.class.php');
?>