Skip to content

Commit

Permalink
[Patch] Updating LDAP Cron updater using 'cernbox' symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
NadirRoGue committed Apr 19, 2016
1 parent 193e369 commit f08ba2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ldapupdatecron.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ function insertIntoDatabase($table, $sql, $useLoadData = false)
fflush($handle);
fclose($handle);

$dbHandle->exec("LOAD DATA LOCAL INFILE '/cernbox/lib/" .$table. ".txt' IGNORE INTO TABLE " .$table. " FIELDS TERMINATED BY ','");
$dbHandle->exec("LOAD DATA LOCAL INFILE '/var/www/html/cernbox/lib/" .$table. ".txt' IGNORE INTO TABLE " .$table. " FIELDS TERMINATED BY ','");
}
else
{
Expand Down

0 comments on commit f08ba2d

Please sign in to comment.