Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

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

The Solution -> combined_files


Go to End


10 Posts   8124 Views

Avatar
patrik

Community Member, 9 Posts

15 April 2010 at 12:23am

Edited: 15/04/2010 12:27am

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?

Avatar
ajshort

Community Member, 244 Posts

15 April 2010 at 12:57pm

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

Go to Top