|
@@ 127-133 (lines=7) @@
|
| 124 |
|
// We should probably figure out a better way to do this... |
| 125 |
|
$ignoredPages = ''; |
| 126 |
|
|
| 127 |
|
if (isset($rfxParam[$projectData->getDomain()]['excluded_title'])) { |
| 128 |
|
$titlesExcluded |
| 129 |
|
= $rfxParam[$projectData->getDomain()]['excluded_title']; |
| 130 |
|
foreach ($titlesExcluded as $ignoredPage) { |
| 131 |
|
$ignoredPages .= "AND p.page_title != \"$ignoredPage\"\r\n"; |
| 132 |
|
} |
| 133 |
|
} |
| 134 |
|
|
| 135 |
|
if (isset($rfxParam[$projectData->getDomain()]['excluded_regex'])) { |
| 136 |
|
$titlesExcluded |
|
@@ 135-141 (lines=7) @@
|
| 132 |
|
} |
| 133 |
|
} |
| 134 |
|
|
| 135 |
|
if (isset($rfxParam[$projectData->getDomain()]['excluded_regex'])) { |
| 136 |
|
$titlesExcluded |
| 137 |
|
= $rfxParam[$projectData->getDomain()]['excluded_regex']; |
| 138 |
|
foreach ($titlesExcluded as $ignoredPage) { |
| 139 |
|
$ignoredPages .= "AND p.page_title NOT LIKE \"%$ignoredPage%\"\r\n"; |
| 140 |
|
} |
| 141 |
|
} |
| 142 |
|
|
| 143 |
|
foreach ($pageTypes as $type) { |
| 144 |
|
$type = explode(':', $type, 2)[1]; |