Changeset 19841


Ignore:
Timestamp:
01/05/13 14:40:38 (7 years ago)
Author:
mistic100
Message:

make sure banner folder is created on the right place

Location:
extensions/header_manager
Files:
2 edited

Legend:

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

    r18474 r19841  
    3232 
    3333  // banners directory 
    34   if ( file_exists(PWG_LOCAL_DIR) and !file_exists(PWG_LOCAL_DIR . 'banners/') )  
     34  if (!file_exists(PHPWG_ROOT_PATH . PWG_LOCAL_DIR . 'banners/'))  
    3535  { 
    36     mkdir(PWG_LOCAL_DIR . 'banners/', 0755); 
     36    mkdir(PHPWG_ROOT_PATH . PWG_LOCAL_DIR . 'banners/', 0755); 
    3737  } 
    3838 
  • extensions/header_manager/main.inc.php

    r18710 r19841  
    1414define('HEADER_MANAGER_PATH',    PHPWG_PLUGINS_PATH . 'header_manager/'); 
    1515define('HEADER_MANAGER_ADMIN',   get_root_url() . 'admin.php?page=plugin-header_manager'); 
    16 define('HEADER_MANAGER_DIR',     PWG_LOCAL_DIR . 'banners/'); 
     16define('HEADER_MANAGER_DIR',     PHPWG_ROOT_PATH . PWG_LOCAL_DIR . 'banners/'); 
    1717define('HEADER_MANAGER_TABLE',   $prefixeTable . 'category_banner'); 
    1818define('HEADER_MANAGER_VERSION', 'auto'); 
Note: See TracChangeset for help on using the changeset viewer.