mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
- overhauled search system
- updated structure for search backend plugins - better result caching using ACM - search results no longer session restricted => link to them by copying the URL :) - in-topic search - indexing posts now uses search backend plugins - develop/search_fill.php working again - fulltext_mysql not working yet - tiny bugfixes to ACM git-svn-id: file:///svn/phpbb/trunk@5441 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -57,7 +57,7 @@ class acm
|
||||
|
||||
if (!$var_names)
|
||||
{
|
||||
$var_requested[] = $row['var_name'];
|
||||
$this->var_requested[] = $row['var_name'];
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -137,7 +137,7 @@ class acm
|
||||
|
||||
if ($var_name{0} == '_')
|
||||
{
|
||||
if (!in_array($this->var_requested, $var_name))
|
||||
if (!in_array($var_name, $this->var_requested))
|
||||
{
|
||||
$this->var_requested[] = $var_name;
|
||||
|
||||
|
@@ -154,6 +154,11 @@ class acm
|
||||
{
|
||||
global $phpEx;
|
||||
|
||||
if (!$this->_exists($var_name))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if ($var_name == 'sql' && !empty($table))
|
||||
{
|
||||
$regex = '(' . ((is_array($table)) ? implode('|', $table) : $table) . ')';
|
||||
|
Reference in New Issue
Block a user