Ignore:
Timestamp:
03/21/05 17:46:51 (14 years ago)
Author:
yermol
Message:

now uses PHP_SELF to figure out installation directory URL.
changed plugin to plugin and f to function everywhere.
updated README.

File:
1 edited

Legend:

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

    r47 r48  
    2222* URL to use for unified backend. 
    2323* 
    24 * The ?plugin=ImageManager& is required.  
    25 */ 
    26  
    27 $IMConfig['backend_url'] = "backend.php?plugin=ImageManager&"; 
     24* The ?__plugin=ImageManager& is required.  
     25*/ 
     26 
     27$IMConfig['backend_url'] = "backend.php?__plugin=ImageManager&"; 
    2828 
    2929/** 
     
    7777// $IMConfig['images_url'] = "/url/to/above"; 
    7878 
    79 // try to figure out the URL of the images directory. We're assuming it's not 
    80 // symlinked. 
    81  
    82 $IMConfig['images_url'] = "/xinha/plugins/ImageManager/demo_images"; 
     79// try to figure out the URL of the sample images directory. For your installation 
     80// you will probably want to keep images in another directory. 
     81 
     82$IMConfig['images_url'] = str_replace( "backend.php", "", $_SERVER["PHP_SELF"] ) . "demo_images"; 
    8383 
    8484// ------------------------------------------------------------------------- 
     
    250250 
    251251// uncomment to send debug messages to a local file 
    252 // _setDebugLog( "/tmp/debug_log.txt" ); 
     252_setDebugLog( "/tmp/debug_log.txt" ); 
    253253 
    254254// turn debugging on everywhere. 
    255 // _ddtOn(); 
     255_ddtOn(); 
    256256 
    257257// END 
Note: See TracChangeset for help on using the changeset viewer.