Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Feb 25, 2016
2 parents e0c03ee + aebf135 commit a8f78c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/plugins/core.index/class.CoreIndexer.php
Expand Up @@ -114,7 +114,7 @@ public function recursiveIndexation($node, $depth = 0)
if($user == null && AuthService::usersEnabled()) $user = AuthService::getLoggedUser();
if($depth == 0){
$this->debug("Starting indexation - node.index.recursive.start - ". memory_get_usage(true) ." - ". $node->getUrl());
$this->setIndexStatus("RUNNING", str_replace("%s", $node->getPath(), $messages["core.index.8"]), $repository, $user);
$this->setIndexStatus("RUNNING", str_replace("%s", SystemTextEncoding::toUTF8($node->getPath()), $messages["core.index.8"]), $repository, $user);
AJXP_Controller::applyHook("node.index.recursive.start", array($node));
}else{
if($this->isInterruptRequired($repository, $user)){
Expand All @@ -128,7 +128,7 @@ public function recursiveIndexation($node, $depth = 0)
if(!ConfService::currentContextIsCommandLine()) @set_time_limit(120);
$url = $node->getUrl();
$this->debug("Indexing Node parent node ".$url);
$this->setIndexStatus("RUNNING", str_replace("%s", $node->getPath(), $messages["core.index.8"]), $repository, $user);
$this->setIndexStatus("RUNNING", str_replace("%s", SystemTextEncoding::toUTF8($node->getPath()), $messages["core.index.8"]), $repository, $user);
if($node->getPath() != "/"){
try {
AJXP_Controller::applyHook("node.index", array($node));
Expand Down

0 comments on commit a8f78c8

Please sign in to comment.