Jump to:

5450 Posts in 1672 Topics by 1197 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: 3645 Views
  • patrik
    Avatar
    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()) {
       return;
    }

    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
    Avatar
    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.

    3645 Views
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.