#5248 - data_custom/build_rewrite_rules depends on global3.php but Composr system is not loaded

  • By
  • Added
  • 9 views
Identifier #5248
Issue type Minor issue (breaks specific functionality)
Title data_custom/build_rewrite_rules depends on global3.php but Composr system is not loaded
Status Open
Handling member Chris Graham
Addon General / Uncategorised
Description data_custom/build_rewrite_rules depends on global3.php but Composr system is not loaded. It uses is_cli() and cms_file_get_contents_safe.

Furthermore, $file_path should probably be using get_file_base() as cms_file_get_contents_safe fails with relative URLs in dev mode.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated