Skip to content

Commit

Permalink
Merge pull request #897 from mambax7/feature/xoModuleIcons16_index
Browse files Browse the repository at this point in the history
update for using index.php
  • Loading branch information
geekwright committed Oct 16, 2020
2 parents e32405d + 3da2d2e commit 22667e5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -27,7 +27,7 @@ function smarty_compiler_xoModuleIcons16($argStr, &$smarty)
// $icons = xoops_getModuleOption('typeicons', 'system');
// if ( $icons == '' ) $icons = 'default';

if (file_exists($xoops->path('Frameworks/moduleclasses/icons/16/index.html'))) {
if (file_exists($xoops->path('Frameworks/moduleclasses/icons/16/index.php'))) {
$url = $xoops->url('Frameworks/moduleclasses/icons/16/' . $argStr);
} else {
if (file_exists($xoops->path('modules/system/images/icons/default/' . $argStr))) {
Expand Down

0 comments on commit 22667e5

Please sign in to comment.