Basic multidatabase support. re #40
TODO : * Document the new option * Handle URL rewriting * Handle bookdetail * Test the case without fancybox * Update the title with database name
This commit is contained in:
parent
91cf377d95
commit
78b60baebd
2 changed files with 23 additions and 9 deletions
1
data.php
1
data.php
|
@ -132,6 +132,7 @@ class Data extends Base {
|
|||
$urlParam = addURLParameter($urlParam, "height", $height);
|
||||
}
|
||||
$urlParam = addURLParameter($urlParam, "id", $book->id);
|
||||
if (!is_null (GetUrlParam (DB))) $urlParam = addURLParameter ($urlParam, DB, GetUrlParam (DB));
|
||||
return new Link ("fetch.php?" . $urlParam, $mime, $rel, $title);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue