Ignore:
Timestamp:
03/29/11 01:39:55 (9 years ago)
Author:
gogo
Message:

Update the MootoolsFileManager? to the latest cpojer with some modifications.
Add a demo for the MFM examples/mootools-file-manager.php
Change the default config for ImageManager? and ExtendedFileManager? for added security.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/MootoolsFileManager-Update/plugins/MootoolsFileManager/config.php

    r1297 r1300  
    8888  $IMConfig['images_dir'] = FALSE; // No trailing slash 
    8989  $IMConfig['images_url'] = FALSE; // No trailing slash 
     90   
     91  $IMConfig['thumbs_dir'] = NULL;  // Will default to images_url/.thumbs or files_url/.thumbs 
    9092 
    9193  /** 
     
    191193@session_write_close(); // Close session now so we don't lock. 
    192194 
     195if(!isset($IMConfig['thumbs_dir'])) 
     196{ 
     197  $IMConfig['thumbs_dir'] = (isset($IMConfig['images_dir']) ? $IMConfig['images_dir'] : $IMConfig['files_dir']) . '/.thumbs'; 
     198} 
    193199?> 
Note: See TracChangeset for help on using the changeset viewer.