Jump to:

5554 Posts in 1742 Topics by 1227 members

Customising the CMS

SilverStripe Forums » Customising the CMS » The Solution -> combined_files

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 3959 Views
  • patrik
    Community Member
    9 Posts

    Re: The Solution -> combined_files Link to this post

    I also have problems with the combine_files, but i have a different problem.

    Look at this code snippet
    if((Director::isDev() && !SapphireTest::is_running_test()) || !Requirements::get_combined_files_enabled()) {

    Either i'm to tired to think or it will just return if we are in dev mode and this is not a test?

    Anyhow, since i'm using dev mode and is_running_test returns false the rest of the function is'nt run, or are there something i have missed?

  • ajshort
    Community Member
    244 Posts

    Re: The Solution -> combined_files Link to this post

    That's right, files deliberately aren't combined in development mode so debugging is easier.

Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.