forked from wp-plugins/real-estate-listing-realtyna-wpl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WPL.php
45 lines (38 loc) · 1.17 KB
/
WPL.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
<?php
/**
Plugin Name: WPL
Plugin URI: http://wpl.realtyna.com
Description: This is a professional WordPress real estate plugin created by Realtyna.
Author: Realtyna Softwares
Project Manager: [email protected]
Version: 2.8.0
Author URI: http://wpl.realtyna.com
**/
/**
* WPL execution
*/
define('_WPLEXEC', 1);
/**
* Directory Separator
*/
if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR);
/** WPL ABS PATH **/
define('WPL_ABSPATH', dirname(__FILE__) .DS);
define('WPL_BASENAME', basename(WPL_ABSPATH));
define('WPL_UP_ABSPATH', ABSPATH .'wp-content' .DS. 'uploads' .DS. 'WPL' .DS);
define('WPL_TEXTDOMAIN', 'wpl'); /** WPL textdomain for language **/
define('WPL_VERSION', '2.8.0'); /** WPL version **/
require WPL_ABSPATH.'config.php';
_wpl_import('global');
_wpl_import('libraries.request');
_wpl_import('libraries.file');
_wpl_import('libraries.folder');
_wpl_import('libraries.db');
_wpl_import('libraries.html');
_wpl_import('libraries.sef');
_wpl_import('libraries.property');
_wpl_import('libraries.users');
_wpl_import('controller');
_wpl_import('extensions');
/** request controller **/
_wpl_import('request_controller');