1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-22 19:07:27 +01:00

[feature/sphinx-fulltext-search] fix comments and indentation

PHPBB3-10946
This commit is contained in:
Dhruv 2012-07-11 17:10:51 +05:30
parent 172c583f19
commit b8103c5c31
2 changed files with 5 additions and 5 deletions

View File

@ -135,7 +135,7 @@ class phpbb_search_fulltext_sphinx
return false;
}
include ($phpbb_root_path . 'config.' . $phpEx);
include($phpbb_root_path . 'config.' . $phpEx);
/* Now that we're sure everything was entered correctly,
generate a config for the index. We use a config value

View File

@ -98,7 +98,7 @@ class phpbb_search_sphinx_config
// If we're not inside a section look for one
if (!$section)
{
/* add empty lines and comments as comment objects to the section list
/* Add empty lines and comments as comment objects to the section list
that way they're not deleted when reassembling the file from the sections*/
if (!$line || $line[0] == '#')
{
@ -107,7 +107,7 @@ class phpbb_search_sphinx_config
}
else
{
/* otherwise we scan the line reading the section name until we find
/* Otherwise we scan the line reading the section name until we find
an opening curly bracket or a comment */
$section_name = '';
$section_name_comment = '';
@ -147,7 +147,7 @@ class phpbb_search_sphinx_config
// If we're not in a value continuing over the line feed
if (!$in_value)
{
/* then add empty lines and comments as comment objects to the variable list
/* Then add empty lines and comments as comment objects to the variable list
of this section so they're not deleted on reassembly */
if (!$line || $line[0] == '#')
{
@ -240,7 +240,7 @@ class phpbb_search_sphinx_config
continue;
}
/* if we found a closing curly bracket this section has been completed
/* If we found a closing curly bracket this section has been completed
and we can append it to the section list and continue with looking for
the next section */
if ($end_section)