diff --git a/dle_uploads/dle_vs_ipb3.php b/dle_uploads/dle_vs_ipb3.php index 259ff47..845b4c8 100644 --- a/dle_uploads/dle_vs_ipb3.php +++ b/dle_uploads/dle_vs_ipb3.php @@ -18,8 +18,6 @@ function clean_url($url) } } -define('LIC_DOMAIN', /*lic*/'.'/*/lic*/); - class ipb_member { public $member = array(); @@ -37,19 +35,7 @@ class ipb_member protected $connected = false; public function __construct(db &$db) - { - - if ( - !preg_match("#" . LIC_DOMAIN . "#i", $_SERVER['HTTP_HOST']) && - !preg_match('#localhost#i', $_SERVER['HTTP_HOST']) && - strpos($_SERVER['HTTP_HOST'], $_SERVER['SERVER_ADDR']) === false - ) - { - echo " DLE + Invision Power Board 3.
"; - echo " http://forum.kaliostro.net/"; - exit; - } - + { if (file_exists(ENGINE_DIR . "/data/dle_ipb_conf.php")) { $dle_ipb_conf = array(); diff --git a/dle_uploads/engine/inc/dle_ipb3.php b/dle_uploads/engine/inc/dle_ipb3.php index 4dea0ac..33926c5 100644 --- a/dle_uploads/engine/inc/dle_ipb3.php +++ b/dle_uploads/engine/inc/dle_ipb3.php @@ -1,6 +1,5 @@ "; - echo "За информацией обращайтесь на форум http://forum.kaliostro.net/"; - exit; - } - + { if (file_exists(ENGINE_DIR . "/data/dle_ipb_conf.php")) { $dle_ipb_conf = array(); diff --git a/dle_uploads_utf8/engine/inc/dle_ipb3.php b/dle_uploads_utf8/engine/inc/dle_ipb3.php index a70df29..a4076bf 100644 --- a/dle_uploads_utf8/engine/inc/dle_ipb3.php +++ b/dle_uploads_utf8/engine/inc/dle_ipb3.php @@ -1,6 +1,5 @@ "; return $output; } - -if (!preg_match("#" . $licence . "#i", $_SERVER['HTTP_HOST']) && - !preg_match('#localhost#', $_SERVER['HTTP_HOST']) && - strpos($_SERVER['HTTP_HOST'], $_SERVER['SERVER_ADDR']) === false - ) -{ - - dle_ipb_msg("error", $lang_dle_ipb['error_lic'], $lang_dle_ipb['lic_text']); - exit; -} function echomenu ($image, $header_text, $p = 0) { diff --git a/ipb3_uploads/admin/applications/forums/extensions/memberSync.php b/ipb3_uploads/admin/applications/forums/extensions/memberSync.php index 2c61d5b..88bd49f 100644 --- a/ipb3_uploads/admin/applications/forums/extensions/memberSync.php +++ b/ipb3_uploads/admin/applications/forums/extensions/memberSync.php @@ -15,8 +15,6 @@ **/ -define('LIC_DOMAIN', /*lic*/'eloboost\.ru'/*/lic*/); - /** * Member Synchronization extensions * @@ -77,17 +75,6 @@ public function __construct() /////////////////////////////////////////////////////////// - if ( - !preg_match("#" . LIC_DOMAIN . "#i", $_SERVER['HTTP_HOST']) && - !preg_match('#localhost#i', $_SERVER['HTTP_HOST']) && - strpos($_SERVER['HTTP_HOST'], $_SERVER['SERVER_ADDR']) === false - ) - { - echo "Вы используете не лицензионную версию модуля DLE + Invision Power Board 3.
"; - echo "За информацией обращайтесь на форум http://forum.kaliostro.net/"; - exit; - } - require_once(dirname(__FILE__) . "/dbconfig.php"); require_once(dirname(__FILE__) . "/dle_config.php");