mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-10-05 07:32:13 +00:00
use __construct for constructor
This commit is contained in:
parent
85bc796629
commit
2e8c9cb690
|
@ -233,7 +233,7 @@ class Settings { /* {{{ */
|
||||||
*
|
*
|
||||||
* @param string $configFilePath path to config file
|
* @param string $configFilePath path to config file
|
||||||
*/
|
*/
|
||||||
function Settings($configFilePath='') { /* {{{ */
|
function __construct($configFilePath='') { /* {{{ */
|
||||||
if($configFilePath=='') {
|
if($configFilePath=='') {
|
||||||
$configFilePath = $this->searchConfigFilePath();
|
$configFilePath = $this->searchConfigFilePath();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user