-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathshop-reviews-write.php
40 lines (30 loc) · 1.01 KB
/
shop-reviews-write.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
<?php
/*
MailBeez Automatic Trigger Email Campaigns
http://www.mailbeez.com
Copyright (c) 2010 - 2015 MailBeez
inspired and in parts based on
Copyright (c) 2003 osCommerce
Released under the GNU General Public License (Version 2)
[http://www.gnu.org/licenses/gpl-2.0.html]
*/
// set MH_ROOT_PATH
if (!defined('MH_ROOT_PATH')) {
// default location
$_MH_ROOT_PATH = 'mailhive/';
$_mh_search_paths = array('mailhive/', 'ext/mailhive/', 'includes/external/mailhive/');
foreach ($_mh_search_paths as $_MH_ROOT_PATH_TRY) {
if (file_exists($_MH_ROOT_PATH_TRY . 'cloudbeez/cloudloader_core.php')) {
$_MH_ROOT_PATH = $_MH_ROOT_PATH_TRY;
break;
}
}
define('MH_ROOT_PATH', $_MH_ROOT_PATH);
}
if (file_exists(MH_ROOT_PATH . 'configbeez/config_shopvoting/includes/inc_shopvoting_write.php')) {
require_once(MH_ROOT_PATH . 'configbeez/config_shopvoting/includes/inc_shopvoting_write.php');
} else {
?>
Please install Shopvoting module
<?php
}