- Timestamp:
- Dec 14, 2012, 5:59:33 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AdditionalPages/trunk/admin/edit_page.inc.php
r9350 r19429 11 11 if (isset($_REQUEST['delete']) and isset($_GET['edit'])) 12 12 { 13 14 @unlink($conf[' local_data_dir'].'/additional_pages_backup/' . $_GET['edit'] . '.txt');13 pwg_query('DELETE FROM ' . ADD_PAGES_TABLE . ' WHERE id = ' . $_GET['edit'] . ';'); 14 @unlink($conf['data_location'].'/additional_pages_backup/' . $_GET['edit'] . '.txt'); 15 15 16 16 if ($conf['AP']['homepage'] == $_GET['edit'])
Note: See TracChangeset
for help on using the changeset viewer.