please move cacheTimestamp and microtime from data/config.php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jamie
    Junior Member
    • Aug 2025
    • 28

    #1

    please move cacheTimestamp and microtime from data/config.php

    this always messes up my git status and IMO doesn't belong in a general config file would be great if it lived some where else

    thanks
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9264

    #2
    It does belong there. Do not commit the config file. You have the ability to use config-override. https://docs.espocrm.com/administrat.../#config-files
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • jamie
      Junior Member
      • Aug 2025
      • 28

      #3
      yuri there are dozens of stuff there and the system won't run without the config file, i use the override for the local environment and don't want them in the repo

      or do you have a way for the system to function with out the config file?

      Comment

      • yuri
        EspoCRM product developer
        • Mar 2014
        • 9264

        #4
        Commit only config-override, where you want to set only parameters that won't change. Parameters that are changed via UI will be in config.php, which should not be commited.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        • jamie
          Junior Member
          • Aug 2025
          • 28

          #5
          yes maybe combined with .env that could work

          though if i don't have the config files will the system work? i want to just clone it and then its up and ready and at the moment it seems i need to include all the config flies

          but perhaps we have a different view of how to manage something, i'd prefer todo it via config files not via a UI

          Comment

          Working...