CVS messages for Path Image
May 28, 2007
- Commit #68718 by Robrecht Jacques at 08:48
block name -> Path image
- Commit #68717 by Robrecht Jacques at 08:23
#112978 : we need to use either $_GET['q'] or drupal_get_path_alias() instead of $_SERVER['REDIRECT_URL'] to know the path we are on: - if one has not enabled clean urls, $_SERVER['REDIRECT_URL'] is not set and so it doesn't work as expected. - if Drupal is installed in a subdirectory, $_SERVER['REDIRECT_URL'] will include that directory and so again the path is not what we want. So instead of $_SERVER['REDIRECT_URL'] we now use drupal_get_path_alias(). This is maybe not ideal. I think that checking both $_GET['q'] and the alias would yield the best results. But for now, things are somewhat fixed.
- Commit #68716 by Robrecht Jacques at 08:03
#112978 : if Drupal is installed in a subdirectory on the server, the $_SERVER['DOCUMENT_ROOT'] does not give the correct location to get a list of files. Replacing this with file_create_path() which does give the right directory in both cases.
May 27, 2007
- Commit #68624 by Robrecht Jacques at 10:21
#145875 : removal of unneeded hook_init(). It is only used for defining some variables. This can be put outside the hook_init(). Removing hook_init() will make this module compatible with aggresive caching.
- Commit #68623 by Robrecht Jacques at 10:13
'Path Image' => 'Path image'
- Commit #68622 by Robrecht Jacques at 10:12
default of variable_get('path_image_repository') should be 'images' (not 'files/images') - Commit #68621 by Robrecht Jacques at 10:07
implemented hook_uninstall()
May 25, 2007
- Commit #68505 by Robrecht Jacques at 11:07
#145865 : typo fixes, new administration path fixes.
- Commit #68504 by Robrecht Jacques at 11:01
no need for hook_help() as it is only used for showing the description of the module on the module page. This is handled by path_image.info in Drupal 5.x.
- Commit #68503 by Robrecht Jacques at 10:52
#145868 : name of module is "Path image" for consistency.
