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.

Customising the CMS /

The Solution -> combined_files


Go to End
Reply


10 Posts   4122 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