Hi there, on my system, but I think on all, if you use:
require( dirname( __FILE__ ) . '/../design2-files/joomla.conf' );
I mean, if you only add two strings, you don't obtain an "up" redirection. "../" can only be used at the beginning of the string...