CRM-21277: Suppress warnings while finding install directory.
authorFrancis Whittle <francis@agileware.com.au>
Sun, 8 Oct 2017 23:17:52 +0000 (10:17 +1100)
committerAgileware Support <support@agileware.com.au>
Sun, 8 Oct 2017 23:35:30 +0000 (10:35 +1100)
commit468176f6533ede401097af5d75132b40bb8b0ba7
treefe164bb5f0ee19af9bb37979687b179a53f471b7
parent163494a69340fd6740d012356b14342fbaf3149e
CRM-21277: Suppress warnings while finding install directory.

Prevents log spam when e.g. open_basedir restrictions are in effect.

----------------------------------------
* CRM-21277: CRM_Utils_System_WordPress::validInstallDir spams log with warnings when open_basedir restriction is in effect
  https://issues.civicrm.org/jira/browse/CRM-21277
CRM/Utils/System/WordPress.php