1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 04:41:53 +02:00

Switch to include_lan()

This commit is contained in:
marj
2009-11-19 15:29:03 +00:00
parent c40c26478d
commit 769f27af95

View File

@@ -1,11 +1,8 @@
<?php
if (!defined('e107_INIT')) { exit; }
if (!defined('e107_INIT')) { exit(); }
include_lan(e_PLUGIN.'forum/languages/'.e_LANGUAGE.'/lan_forum_search.php');
if (file_exists(e_PLUGIN."forum/languages/".e_LANGUAGE."/lan_forum_search.php")) {
include_once(e_PLUGIN."forum/languages/".e_LANGUAGE."/lan_forum_search.php");
} else {
include_once(e_PLUGIN."forum/languages/English/lan_forum_search.php");
}
$search_info[] = array(
'sfile' => e_PLUGIN.'forum/search/search_parser.php',
'qtype' => FOR_SCH_LAN_1,
@@ -13,5 +10,3 @@ $search_info[] = array(
'advanced' => e_PLUGIN.'forum/search/search_advanced.php',
'id' => 'forum'
);
?>