Use dirname( __FILE__ ) instead of __DIR__