Changeset 25916


Ignore:
Timestamp:
Dec 10, 2013, 12:18:36 PM (11 years ago)
Author:
mistic100
Message:

fix paths again

Location:
extensions/AdminTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/AdminTools/include/events.inc.php

    r25915 r25916  
    160160
    161161  $template->assign(array(
    162     'ADMINTOOLS_PATH' => ADMINTOOLS_PATH,
     162    'ADMINTOOLS_PATH' => './plugins/' . ADMINTOOLS_ID .'/',
    163163    'ato' => $tpl_vars,
    164164  ));
     
    191191  global $page, $conf, $MultiView, $user, $picture;
    192192
    193   if (!isset($_GET['delete']) and !isset($_POST['action']) and $_POST['action'] != 'quick_edit')
     193  if (!isset($_GET['delete']) and !isset($_POST['action']) and @$_POST['action'] != 'quick_edit')
    194194  {
    195195    return;
  • extensions/AdminTools/main.inc.php

    r25915 r25916  
    1616// +-----------------------------------------------------------------------+
    1717define('ADMINTOOLS_ID',       basename(dirname(__FILE__)));
    18 define('ADMINTOOLS_PATH' ,    './plugins/' . ADMINTOOLS_ID . '/');
     18define('ADMINTOOLS_PATH' ,    PHPWG_PLUGINS_PATH . ADMINTOOLS_ID . '/');
    1919// define('ADMINTOOLS_ADMIN',    get_root_url() . 'admin.php?page=plugin-' . ADMINTOOLS_ID);
    2020define('ADMINTOOLS_VERSION',  'auto');
Note: See TracChangeset for help on using the changeset viewer.