PEAR_PackageUpdate::determinePrefFile

PEAR_PackageUpdate::determinePrefFile --  Returns the path to the preferences file.

Synopsis

publicstringPEAR_PackageUpdate::determinePrefFile

Description

Returns the path to the preferences file.

The preferences file holds information about whether or not the user would like to be notified about updates for individual packages. If the user is on a Windows machine, the file will be in the PEAR_CONFIG_SYSCONFIG directory and named ppurc.ini. If the user is on any operating system, the preferences file will be stored in the user's home directory as the file .ppurc.

Note

This function can be called statically.

Return value

string - The full path to the preferences file.