Changeset 19837


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

make sure zip folder is created on the right place

Location:
extensions/BatchDownloader
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/BatchDownloader/include/install.inc.php

    r18973 r19837  
    2828
    2929  // archives directory
    30   if ( file_exists($conf['data_location']) )
     30  if (!file_exists(PHPWG_ROOT_PATH . $conf['data_location'] . 'download_archives/'))
    3131  {
    32     mkgetdir($conf['data_location'] . 'download_archives/', MKGETDIR_DEFAULT&~MKGETDIR_DIE_ON_ERROR);
     32    mkgetdir(PHPWG_ROOT_PATH . $conf['data_location'] . 'download_archives/', MKGETDIR_DEFAULT&~MKGETDIR_DIE_ON_ERROR);
    3333  }
    3434
  • extensions/BatchDownloader/maintain.inc.php

    r18973 r19837  
    2828  pwg_query('DROP TABLE IF EXISTS `' . $prefixeTable . 'download_sets_images`;');
    2929 
    30   rrmdir($conf['data_location'].'download_archives/');
     30  rrmdir(PHPWG_ROOT_PATH . $conf['data_location'] . 'download_archives/');
    3131}
    3232
Note: See TracChangeset for help on using the changeset viewer.