Ignore:
Timestamp:
Dec 14, 2012, 5:59:33 PM (11 years ago)
Author:
mistic100
Message:

replace $conflocal_data_dir by $confdata_location

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AdditionalPages/trunk/admin/edit_page.inc.php

    r9350 r19429  
    1111if (isset($_REQUEST['delete']) and isset($_GET['edit']))
    1212{
    13         pwg_query('DELETE FROM ' . ADD_PAGES_TABLE . ' WHERE id = ' . $_GET['edit'] . ';');
    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');
    1515
    1616  if ($conf['AP']['homepage'] == $_GET['edit'])
Note: See TracChangeset for help on using the changeset viewer.