$confdir should be used so it works with PE.