Ignore:
Timestamp:
Jan 5, 2013, 2:25:22 PM (11 years ago)
Author:
mistic100
Message:

define data dir in a constant

File:
1 edited

Legend:

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

    r19429 r19836  
    1212{
    1313  pwg_query('DELETE FROM ' . ADD_PAGES_TABLE . ' WHERE id = ' . $_GET['edit'] . ';');
    14   @unlink($conf['data_location'].'/additional_pages_backup/' . $_GET['edit'] . '.txt');
     14  @unlink(AP_BACKUP_DIR . $_GET['edit'] . '.txt');
    1515
    1616  if ($conf['AP']['homepage'] == $_GET['edit'])
Note: See TracChangeset for help on using the changeset viewer.