ServerProvider.loadFileContents

string loadFileContents(string instDir, string dataDir, string filename)

Loads and returns the contents of filename, which is searched in several places This function should only be used by database provider's implementations

Parameters

instDirdirectory where the database provider has been installed
dataDirDATA directory to look for ($prefix/share)
filenamename of the file to load

Returns

a new string containing filename's contents, or null if not found or if an error occurred