Changeset 17659


Ignore:
Timestamp:
08/29/12 17:57:59 (7 years ago)
Author:
mistic100
Message:

avoid path errors in some case (like lightbox)

File:
1 edited

Legend:

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

    r17655 r17659  
    2121 
    2222  // banners directory 
    23   if (!file_exists(PWG_LOCAL_DIR . 'banners/'))  
     23  if ( file_exists(PWG_LOCAL_DIR) and !file_exists(PWG_LOCAL_DIR . 'banners/') )  
    2424  { 
    2525    mkdir(PWG_LOCAL_DIR . 'banners/', 0755); 
Note: See TracChangeset for help on using the changeset viewer.