Skip to content
Snippets Groups Projects
Verified Commit 441c05ee authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #10200 improve fulltext code + clean

parent ba83fa9d
No related branches found
No related tags found
No related merge requests found
......@@ -149,7 +149,7 @@ function indexFullText($pathToFile, $indexFileDirectory, $format, $Id)
function cleanFileContent($fileContent)
{
$func = new functions();
$fileContent = $func->normalize($fileContent);
$fileContent = preg_replace('/[[:cntrl:]]/', ' ', $fileContent);
......@@ -333,10 +333,7 @@ $conf = $argv[1];
$xmlconfig = @simplexml_load_file($conf);
if ($xmlconfig == false) {
errorHandler('Error on loading config file : ' . $conf);
echo "\nError on loading config file: " . $conf . "\n\n";
rename($_ENV['logFile'] . ".log", $_ENV['logFile'] . "_ERR.log");
exit(103);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment