No CSS loading while logged out and simplecache is disabled

I had a strange situation: when i was logged out and simplecache was diabled, no CSS was loaded. The site looked like ugly.

But i found a workaround:



i added the lines at the very end:

// Force simplecache update if simplecache is disabled
if (!($CONFIG->simplecache_enabled)) {


Perhaps this can help someone else!