#1262 ✓resolved

Feature request: Allow custom override of system constants

Reported by dleffler | January 24th, 2015 @ 06:47 PM | in User issues

Though we've alluded to being able to override system constants within the theme, we do not load them prior to setting all other constants. IF we want to be able to override system constants (say like use a specific jquery version) we would need to load them earlier in the chain.

  • though you could set them in overrides.php which is loaded first, that file is overwritten by an upgrade
  • we can NOT store a custom config within a theme folder, since the system doesn't know what the theme is until AFTER loading/setting the system constants

Comments and changes to this ticket

  • dleffler

    dleffler January 24th, 2015 @ 06:48 PM

    • Title changed from “Feature request: ” to “Feature request: Allow custom override of system constants”
  • dleffler

    dleffler March 10th, 2015 @ 05:47 PM

    • State changed from “new” to “resolved”
    • Assigned user set to “dleffler”
    • Milestone set to User issues

    Correction, the overrides.php file is ONLY created/written on an initial installation and NOT an upgrade...therefore it is the ideal place to place custom system contants/defines such as a different jquery script version, etc...

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Bug Tracker for Exponent CMS

Shared Ticket Bins

People watching this ticket