Helping ordinary people create extraordinary websites!
HOME TUTORIALS SCRIPTS WEB HOSTING BLOG FORUM
Get Our Newsletter
Email:

PEAR_DependencyDB::hasWriteAccess()

PEAR_DependencyDB::hasWriteAccess()  -- determines whether a dependency DB can be modified

Description

This method is used by the installer to prevent attempts to create/modify the dependency DB if the current user does not have write access to the registry. Without this method, simple read-only commands like pear info would not work.

Throws

throws no exceptions thrown

Note

This function can not be called statically.