Revision 547
Added by Matthias almost 18 years ago
| class.admin.php | ||
|---|---|---|
| 116 | 116 |
// extract page link from the database |
| 117 | 117 |
$result = @$database->query("SELECT link FROM " .TABLE_PREFIX ."pages WHERE page_id = '" .(int) $_GET['page_id'] ."'");
|
| 118 | 118 |
$row = @$result->fetchRow(); |
| 119 |
if($row) $view_url .= PAGES_DIRECTORY .$row['link'] .PAGE_EXTENSION;
|
|
| 119 |
if($row) $view_url .= PAGES_DIRECTORY .$row['link']. '.php';
|
|
| 120 | 120 |
} |
| 121 | 121 |
|
| 122 | 122 |
// Create the menu |
Also available in: Unified diff
Reintroduced changes from changeset [520] and [540] wich where overwritten by changeset [546]
Revoked changeset [541] end removed all PAGE_EXTENSION variables and the related option in WB settings as this function only works on Apache Servers together with .htaccess and mod_rewrite
Added keywords to file menu_link/uninstall.php