| 1 |
<?php |
| 2 |
// @codingStandardsIgnoreFile |
| 3 |
if(!defined('_WS_PLUGIN__S2MEMBER_ONLY')) |
| 4 |
exit('Do not access this file directly.'); |
| 5 |
?> |
| 6 |
|
| 7 |
// s2Member-only mode. Only load (o)nly/(a)ll files. |
| 8 |
|
| 9 |
if(is_file(WPMU_PLUGIN_DIR.'/s2member-o-hacks.php')) |
| 10 |
include_once WPMU_PLUGIN_DIR.'/s2member-o-hacks.php'; |
| 11 |
|
| 12 |
else if(is_file(WPMU_PLUGIN_DIR.'/s2-o-hacks.php')) |
| 13 |
include_once WPMU_PLUGIN_DIR.'/s2-o-hacks.php'; |
| 14 |
|
| 15 |
// -------------------------------------------------- |
| 16 |
|
| 17 |
if(is_file(WPMU_PLUGIN_DIR.'/s2member-a-hacks.php')) |
| 18 |
include_once WPMU_PLUGIN_DIR.'/s2member-a-hacks.php'; |
| 19 |
|
| 20 |
else if(is_file(WPMU_PLUGIN_DIR.'/s2-a-hacks.php')) |
| 21 |
include_once WPMU_PLUGIN_DIR.'/s2-a-hacks.php'; |
| 22 |
|
| 23 |
// -------------------------------------------------- |
| 24 |
|
| 25 |
if(is_file(WPMU_PLUGIN_DIR.'/s2member-o.php')) |
| 26 |
include_once WPMU_PLUGIN_DIR.'/s2member-o.php'; |
| 27 |
|
| 28 |
else if(is_file(WPMU_PLUGIN_DIR.'/s2-o.php')) |
| 29 |
include_once WPMU_PLUGIN_DIR.'/s2-o.php'; |
| 30 |
|
| 31 |
// -------------------------------------------------- |
| 32 |
|
| 33 |
if(is_file(WPMU_PLUGIN_DIR.'/s2member-a.php')) |
| 34 |
include_once WPMU_PLUGIN_DIR.'/s2member-a.php'; |
| 35 |
|
| 36 |
else if(is_file(WPMU_PLUGIN_DIR.'/s2-a.php')) |
| 37 |
include_once WPMU_PLUGIN_DIR.'/s2-a.php'; |
| 38 |
|