Ignore:
Timestamp:
Jan 5, 2013, 11:28:38 AM (12 years ago)
Author:
mistic100
Message:

make sure temp folder is created on the right place

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/pbase2piwigo/main.inc.php

    r17314 r19832  
    1313global $conf;
    1414
    15 define('PBASE_PATH', PHPWG_PLUGINS_PATH . basename(dirname(__FILE__)) . '/');
    16 define('PBASE_ADMIN', get_root_url() . 'admin.php?page=plugin-' . basename(dirname(__FILE__)));
    17 define('PBASE_FS_CACHE', $conf['data_location'].'pbase_cache/');
     15define('PBASE_PATH',     PHPWG_PLUGINS_PATH . basename(dirname(__FILE__)) . '/');
     16define('PBASE_ADMIN',    get_root_url() . 'admin.php?page=plugin-' . basename(dirname(__FILE__)));
     17define('PBASE_FS_CACHE', PHPWG_ROOT_PATH . $conf['data_location'] . 'pbase_cache/');
     18
    1819
    1920if (defined('IN_ADMIN'))
     
    3132}
    3233
     34
    3335include_once(PBASE_PATH . 'include/ws_functions.inc.php');
    3436
Note: See TracChangeset for help on using the changeset viewer.