Permalink
Browse files

altered require statement for config. (merged from head)

  • Loading branch information...
1 parent ab54cc7 commit decfd5028c491ff660e83bb358b5693499912501 jmg324 committed Jan 10, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 search/cron.php
View
2 search/cron.php
@@ -12,7 +12,7 @@
* adds documents created since the last index run
*/
- require_once('../config.php');
+ require_once("$CFG->dirroot/config.php");
require_once("$CFG->dirroot/search/lib.php");
if (!search_check_php5()) {

0 comments on commit decfd50

Please sign in to comment.