use __construct for constructor

This commit is contained in:
Uwe Steinmann 2016-03-22 14:55:48 +01:00
parent 85bc796629
commit 2e8c9cb690

View File

@ -233,7 +233,7 @@ class Settings { /* {{{ */
*
* @param string $configFilePath path to config file
*/
function Settings($configFilePath='') { /* {{{ */
function __construct($configFilePath='') { /* {{{ */
if($configFilePath=='') {
$configFilePath = $this->searchConfigFilePath();