Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.10.0, 4.0.0
-
None
-
Operating System: Unix
PHP Version: 5.2.0
Database and version: MySQL 5
Browser (and version):
Description
Hi,
I have created an extension to change the icons and I have changed the Repository of IconSettings.
The problem is that the flag icons have disappeared.
But in icon.ini there is an option [FlagIcons] Repository. Without changing that option I thought it wouldn't change the path for the flag icons.
I checked in the kernel (ezwordtoimageoperator.php):
case 'flag_icon': { $ini = eZINI::instance( 'icon.ini' ); $repository = $ini->variable( 'IconSettings', 'Repository' ); $theme = $ini->variable( 'FlagIcons', 'Theme' );
I think $repository doesn't have to be read in [IconSettings] but in [FlagIcons] or the variable Repository in [FlagIcons] is useless and should be removed to avoid confusions.
Steps to reproduce
Change icon.ini
[FlagIcons]
- Where to look for flag icons, relative to eZ Publish
Repository=share/icons
The path of the flag icons doesn't change