aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2012-07-11 17:10:51 +0530
committerDhruv <dhruv.goel92@gmail.com>2012-07-19 23:01:43 +0530
commitb8103c5c31cbb42a46a40ac10c34ff09dc5efc60 (patch)
tree72994087b6c5c7b73eb3e6d1a8948acc709fb37d /phpBB/includes
parent172c583f1941a8b162f1a7bf258bb3e38149606d (diff)
downloadforums-b8103c5c31cbb42a46a40ac10c34ff09dc5efc60.tar
forums-b8103c5c31cbb42a46a40ac10c34ff09dc5efc60.tar.gz
forums-b8103c5c31cbb42a46a40ac10c34ff09dc5efc60.tar.bz2
forums-b8103c5c31cbb42a46a40ac10c34ff09dc5efc60.tar.xz
forums-b8103c5c31cbb42a46a40ac10c34ff09dc5efc60.zip
[feature/sphinx-fulltext-search] fix comments and indentation
PHPBB3-10946
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/search/fulltext_sphinx.php2
-rw-r--r--phpBB/includes/search/sphinx/config.php8
2 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/includes/search/fulltext_sphinx.php b/phpBB/includes/search/fulltext_sphinx.php
index 5bdbbff119..d942d0f027 100644
--- a/phpBB/includes/search/fulltext_sphinx.php
+++ b/phpBB/includes/search/fulltext_sphinx.php
@@ -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
diff --git a/phpBB/includes/search/sphinx/config.php b/phpBB/includes/search/sphinx/config.php
index e0ad667fb6..173193adc5 100644
--- a/phpBB/includes/search/sphinx/config.php
+++ b/phpBB/includes/search/sphinx/config.php
@@ -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)