Permalink
Browse files

fixes bad path in checkDB()

  • Loading branch information...
1 parent f359b61 commit 1bf5043ce99b55d375ed2f618ef8836049db270c diml committed Sep 7, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 search/indexlib.php
View
@@ -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);

0 comments on commit 1bf5043

Please sign in to comment.