Skip to content

Commit

Permalink
fixes bad path in checkDB()
Browse files Browse the repository at this point in the history
  • Loading branch information
diml committed Sep 7, 2007
1 parent f359b61 commit 1bf5043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search/indexlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public function checkTableExists() {
public function checkDB() {
global $CFG, $db;

$sqlfile = "$CFG->dirroot/blocks/search/db/$CFG->dbtype.sql";
$sqlfile = "{$CFG->dirroot}/search/db/$CFG->dbtype.sql";
$ret = false;
if ($this->checkTableExists()) {
execute_sql('drop table '.$CFG->prefix.SEARCH_DATABASE_TABLE, false);
Expand Down

0 comments on commit 1bf5043

Please sign in to comment.