Ignore:
Timestamp:
Nov 7, 2012, 10:05:44 PM (11 years ago)
Author:
mistic100
Message:

small code cleaning, use mkgetdir(), add missing language string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/BatchDownloader/maintain.inc.php

    r17656 r18973  
    22if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
    33
    4 include_once(PHPWG_PLUGINS_PATH . 'BatchDownloader/include/install.inc.php');
     4defined('BATCH_DOWNLOAD_ID') or define('BATCH_DOWNLOAD_ID', basename(dirname(__FILE__)));
     5include_once(PHPWG_PLUGINS_PATH . BATCH_DOWNLOAD_ID . '/include/install.inc.php');
    56
    67function plugin_install()
Note: See TracChangeset for help on using the changeset viewer.