Uploaded image for project: 'CMS CONTENIDO'
  1. CMS CONTENIDO
  2. CON-2775

Use better cInclude in module ContentSearchResult

    Details

      Description

      The module ContentSearchResult uses following code to include the SearchResultModule class:

      cInclude('frontend', 'data/modules/content_search_results/php/class.module.search_result.php');

       

      This could be done better with following line, which does the same and works also for a renamed module folder:

      cInclude('module', 'class.module.search_result.php');

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              xmurrix Murat Purc
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: