public function __construct($accountId = null) { $this->accountId = $accountId; if ($accountId === null) { $settingsDirectory = Gpf_Paths::getInstance()->getAccountsPath(); } else { $settingsDirectory = Gpf_Paths::getInstance()->getAccountsPath() . $accountId . '/'; } parent::__construct($settingsDirectory . self::SETTING_FILE_NAME); }
public function __construct() { parent::__construct(Gpf_Paths::getInstance()->getRealAccountConfigDirectoryPath() . self::FILE_NAME); }