Ignore:
Timestamp:
09/14/06 19:50:02 (8 years ago)
Author:
ray
Message:

For the example config to work there need to be different settings for $IMConfigimages_url?

File:
1 edited

Legend:

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

    r567 r570  
    2121 *      Best of Luck :) Afru. 
    2222 */ 
     23  
     24/* 
     25 *      Getting the mode for further differentiation 
     26 */ 
     27 
     28if(empty($insertMode)) 
     29    $insertMode="image"; 
    2330 
    2431/** 
     
    6269 in this directory and its subdirectories. 
    6370*/ 
    64 $IMConfig['images_url'] = str_replace( "backend.php", "", $_SERVER["PHP_SELF"] ) . "demo_images"; 
    65  
     71if ($insertMode == 'image') 
     72        $IMConfig['images_url'] = str_replace( "backend.php", "", $_SERVER["PHP_SELF"] ) . "demo_images"; 
     73else if($insertMode == "link") 
     74        $IMConfig['images_url'] = str_replace( "manager.php", "", $_SERVER["PHP_SELF"] ) . "demo_images"; 
    6675/* 
    6776  Possible values: true, false 
     
    8897*/ 
    8998 
    90 if(empty($insertMode)) 
    91     $insertMode="image"; 
    9299     
    93100if ($insertMode == 'image') 
Note: See TracChangeset for help on using the changeset viewer.