Release notes
Changes since DRUPAL-5--1-1:
- #92005 (backport from HEAD)
- #104204 and #103459 by budda
- #133091 by budda
- #145862 by budda: db_prefix the {system} table
- #145868 by budda: name of module is "Path image" for consistency.
- by budda: 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.
- #145865 by budda: Fixed typos, new administration path fixes.
- by budda: Added hook_uninstall()
- by budda: Changed default of variable_get('path_image_repository') should be 'images' (not 'files/images')
- #145875 by budda: Removed unneeded hook_init(). It is only used for defining some variables. This can be put outside the hook_init(). Removal makes this module compatible with aggressive caching.
- #112978 by budda: 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.
- #112978 by budda: 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. - #365480 by sun: Code clean-up and sync of branches.
- #365480 by sun: Code clean-up; Added support for URL aliases.
Download | Size | md5 hash |
---|---|---|
Image may be NSFW. Clik here to view. ![]() | 11.05 KB | cf618e8860e416f50ea121e0b7f930cf |
Image may be NSFW. Clik here to view. ![]() | 12.5 KB | 12d3ee1e583a8bb354f2c209546ff9af |
Last updated: December 24, 2010 - 23:35
Official release from tag:
5.x-1.2
Core compatibility: