Ignore:
Timestamp:
01/20/08 23:13:25 (12 years ago)
Author:
ray
Message:

#1132 [ExtendedFileManager?] new Version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/ExtendedFileManager/config.inc.php

    r717 r937  
    2626 */ 
    2727 
    28 if(empty($insertMode)) 
    29     $insertMode="image"; 
     28if(isset($_REQUEST['mode'])) $insertMode=$_REQUEST['mode']; 
     29        if(!isset($insertMode)) $insertMode="image"; 
    3030 
    3131/** 
     
    6565/* 
    6666 The URL to the above path, the web browser needs to be able to see it. 
    67  It can be protected via .htaccess on apache or directory permissions on IIS, 
    68  check you web server documentation for futher information on directory protection 
    69  If this directory needs to be publicly accessiable, remove scripting capabilities 
    70  for this directory (i.e. disable PHP, Perl, CGI). We only want to store assets 
    71  in this directory and its subdirectories. 
     67 Please remove scripting capabilities in this directory 
     68 for this directory (i.e. disable PHP, Perl, CGI; see .htaccess file in demo_images folder). 
    7269*/ 
    7370$IMConfig['images_url'] = str_replace( array("backend.php","manager.php"), "", $_SERVER["PHP_SELF"] ) . $IMConfig['images_dir']; 
    7471//$IMConfig['files_url'] = 'url/to/files_dir'; 
    7572 
     73/* 
     74  Format of the Date Modified in list view. 
     75  It has to be a string understood by the PHP date() function (for possible values see http://http://php.net/manual/en/function.date.php) 
     76*/ 
     77$IMConfig['date_format'] = "d.m.y H:i"; 
    7678/* 
    7779  Possible values: true, false 
     
    123125 GD does not require the following definition. 
    124126*/ 
    125 define('IMAGE_TRANSFORM_LIB_PATH', 'C:/"Program Files"/ImageMagick-5.5.7-Q16/'); 
     127define('IMAGE_TRANSFORM_LIB_PATH', '/usr/bin/'); 
     128//define('IMAGE_TRANSFORM_LIB_PATH', 'C:/"Program Files"/ImageMagick-5.5.7-Q16/'); 
    126129 
    127130 
     
    288291  "max"  - the maximum allowed by the server (the value is retrieved from the server configuration). 
    289292*/ 
    290 $IMConfig['max_filesize_kb_image'] = 2000000; 
     293$IMConfig['max_filesize_kb_image'] = 200; 
    291294 
    292295$IMConfig['max_filesize_kb_link'] = 5000; 
Note: See TracChangeset for help on using the changeset viewer.