Revision 555
Added by Matthias almost 17 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']. '.php';
|
|
119 |
if($row) $view_url .= PAGES_DIRECTORY .$row['link']. PAGE_EXTENSION;
|
|
120 | 120 |
} |
121 | 121 |
|
122 | 122 |
// Create the menu |
Also available in: Unified diff
Revoked parts of changeset [547] and again introduced changeset [540]